2 |
|
|
3 |
|
PORTNAME= hal |
4 |
|
DISTVERSION= 0.5.14 |
5 |
< |
PORTREVISION= 10 |
5 |
> |
PORTREVISION= 11 |
6 |
|
CATEGORIES= sysutils |
7 |
|
MASTER_SITES= http://hal.freedesktop.org/releases/ |
8 |
|
|
11 |
|
|
12 |
|
LICENSE= gpl2 |
13 |
|
|
14 |
< |
BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:${PORTSDIR}/multimedia/v4l_compat |
14 |
> |
BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat |
15 |
|
# keep shared lib ver to avoid polkit confusion |
16 |
< |
LIB_DEPENDS= libpolkit.so.2:${PORTSDIR}/sysutils/policykit \ |
17 |
< |
libvolume_id.so:${PORTSDIR}/devel/libvolume_id \ |
18 |
< |
libck-connector.so:${PORTSDIR}/sysutils/consolekit |
19 |
< |
RUN_DEPENDS= ${LOCALBASE}/share/pciids/pci.ids:${PORTSDIR}/misc/pciids \ |
20 |
< |
bash:${PORTSDIR}/shells/bash |
16 |
> |
LIB_DEPENDS= libpolkit.so.2:sysutils/policykit \ |
17 |
> |
libvolume_id.so:devel/libvolume_id \ |
18 |
> |
libck-connector.so:sysutils/consolekit2 |
19 |
> |
RUN_DEPENDS= ${LOCALBASE}/share/pciids/pci.ids:misc/pciids \ |
20 |
> |
bash:shells/bash |
21 |
|
|
22 |
< |
USES= gettext gmake libtool:keepla pathfix pkgconfig shebangfix |
22 |
> |
USES= gettext gmake libtool:keepla pathfix pkgconfig python shebangfix |
23 |
|
USE_GNOME= intlhack |
24 |
|
GNU_CONFIGURE= yes |
25 |
|
USE_LDCONFIG= yes |
26 |
– |
USE_PYTHON= yes |
26 |
|
CONFIGURE_ARGS= --disable-gtk-doc \ |
27 |
|
--with-backend=freebsd \ |
28 |
|
--disable-docbook-docs \ |
71 |
|
|
72 |
|
.include <bsd.port.pre.mk> |
73 |
|
|
74 |
< |
RUN_DEPENDS+= dmidecode:${PORTSDIR}/sysutils/dmidecode |
75 |
< |
|
77 |
< |
.if ${OSVERSION} >= 5000 |
78 |
< |
PLIST_SUB+= USB2="" |
79 |
< |
.else |
80 |
< |
PLIST_SUB+= USB2="@comment " |
74 |
> |
.if (${ARCH}=="i386" || ${ARCH}=="amd64" || ${ARCH}=="ia64") |
75 |
> |
RUN_DEPENDS+= dmidecode:sysutils/dmidecode |
76 |
|
.endif |
77 |
|
|
78 |
|
post-patch: |
79 |
+ |
@${REINPLACE_CMD} -e 's/==/=/g' ${WRKSRC}/tools/hal-luks* |
80 |
|
@${REINPLACE_CMD} -e '/^scriptdir = /s|[(]libexecdir[)]/scripts|(libexecdir)/hal/scripts|' \ |
81 |
|
${WRKSRC}/tools/Makefile.in \ |
82 |
|
${WRKSRC}/tools/freebsd/Makefile.in |