Lines 11-29
MASTER_SITES= http://upower.freedesktop.
Link Here
|
11 |
MAINTAINER= gnome@FreeBSD.org |
11 |
MAINTAINER= gnome@FreeBSD.org |
12 |
COMMENT= D-Bus daemon for simplifying power management tasks |
12 |
COMMENT= D-Bus daemon for simplifying power management tasks |
13 |
|
13 |
|
|
|
14 |
LICENSE= GPLv2 |
15 |
|
14 |
BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection |
16 |
BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection |
15 |
LIB_DEPENDS= polkit-gobject-1.0:${PORTSDIR}/sysutils/polkit \ |
17 |
LIB_DEPENDS= libpolkit-gobject-1.so:${PORTSDIR}/sysutils/polkit \ |
16 |
dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib |
18 |
libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib |
17 |
RUN_DEPENDS= ${LOCALBASE}/lib/girepository-1.0/GObject-2.0.typelib:${PORTSDIR}/devel/gobject-introspection |
19 |
RUN_DEPENDS= ${LOCALBASE}/lib/girepository-1.0/GObject-2.0.typelib:${PORTSDIR}/devel/gobject-introspection |
18 |
|
20 |
|
19 |
LICENSE= GPLv2 |
21 |
OPTIONS_DEFINE= MANPAGES |
20 |
LICENSE_FILE= ${WRKSRC}/COPYING |
22 |
OPTIONS_DEFAULT=MANPAGES |
|
|
23 |
OPTIONS_SUB= yes |
24 |
MANPAGES_CONFIGURE_ENABLE= man-pages |
25 |
MANPAGES_BUILD_DEPENDS= \ |
26 |
${LOCALBASE}/share/sgml/docbook/4.1:${PORTSDIR}/textproc/docbook-sgml \ |
27 |
${LOCALBASE}/share/xml/docbook/4.1.2:${PORTSDIR}/textproc/docbook-xml \ |
28 |
xsltproc:${PORTSDIR}/textproc/libxslt \ |
29 |
${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl |
30 |
|
21 |
USES= gettext gmake pkgconfig |
31 |
USES= gettext gmake pkgconfig |
22 |
USE_BZIP2= yes |
32 |
USE_BZIP2= yes |
23 |
USE_GNOME= gnomehack intlhack ltverhack glib20 |
33 |
USE_GNOME= gnomehack intlhack ltverhack glib20 |
24 |
USE_AUTOTOOLS= libtool |
34 |
USE_AUTOTOOLS= libtool |
25 |
USE_LDCONFIG= yes |
35 |
USE_LDCONFIG= yes |
26 |
USE_PYTHON= yes |
36 |
USE_PYTHON= yes |
|
|
37 |
|
27 |
CONFIGURE_ARGS= --disable-gtk-doc \ |
38 |
CONFIGURE_ARGS= --disable-gtk-doc \ |
28 |
--with-backend=freebsd \ |
39 |
--with-backend=freebsd \ |
29 |
--localstatedir=/var |
40 |
--localstatedir=/var |
Lines 31-47
CONFIGURE_ENV= GTKDOC="false"
Link Here
|
31 |
CPPFLAGS+= -I${LOCALBASE}/include |
42 |
CPPFLAGS+= -I${LOCALBASE}/include |
32 |
LDFLAGS+= -L${LOCALBASE}/lib |
43 |
LDFLAGS+= -L${LOCALBASE}/lib |
33 |
|
44 |
|
34 |
.if defined(NO_INSTALL_MANPAGES) |
|
|
35 |
CONFIGURE_ARGS+=--disable-man-pages |
36 |
.else |
37 |
BUILD_DEPENDS+= ${LOCALBASE}/share/sgml/docbook/4.1:${PORTSDIR}/textproc/docbook-sgml \ |
38 |
${LOCALBASE}/share/xml/docbook/4.1.2:${PORTSDIR}/textproc/docbook-xml \ |
39 |
xsltproc:${PORTSDIR}/textproc/libxslt \ |
40 |
${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl |
41 |
MAN1= upower.1 |
42 |
MAN7= UPower.7 |
43 |
MAN8= upowerd.8 |
44 |
.endif |
45 |
|
46 |
NO_STAGE= yes |
47 |
.include <bsd.port.mk> |
45 |
.include <bsd.port.mk> |