Lines 4-21
Link Here
|
4 |
|
4 |
|
5 |
PORTNAME= upower |
5 |
PORTNAME= upower |
6 |
PORTVERSION= 0.9.7 |
6 |
PORTVERSION= 0.9.7 |
7 |
PORTREVISION= 4 |
7 |
PORTREVISION= 5 |
8 |
CATEGORIES= sysutils |
8 |
CATEGORIES= sysutils |
9 |
MASTER_SITES= http://upower.freedesktop.org/releases/ |
9 |
MASTER_SITES= http://upower.freedesktop.org/releases/ |
10 |
|
10 |
|
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 |
LICENSE_FILE= ${WRKSRC}/COPYING |
16 |
|
14 |
LIB_DEPENDS= libpolkit-gobject-1.so:${PORTSDIR}/sysutils/polkit \ |
17 |
LIB_DEPENDS= libpolkit-gobject-1.so:${PORTSDIR}/sysutils/polkit \ |
15 |
libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib |
18 |
libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib |
16 |
|
19 |
|
17 |
LICENSE= GPLv2 |
20 |
OPTIONS_DEFINE= MANPAGES |
18 |
LICENSE_FILE= ${WRKSRC}/COPYING |
21 |
OPTIONS_DEFAULT=MANPAGES |
|
|
22 |
OPTIONS_SUB= yes |
23 |
MANPAGES_CONFIGURE_ENABLE= man-pages |
24 |
MANPAGES_BUILD_DEPENDS= \ |
25 |
${LOCALBASE}/share/sgml/docbook/4.1:${PORTSDIR}/textproc/docbook-sgml \ |
26 |
${LOCALBASE}/share/xml/docbook/4.1.2:${PORTSDIR}/textproc/docbook-xml \ |
27 |
xsltproc:${PORTSDIR}/textproc/libxslt \ |
28 |
${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl |
29 |
|
19 |
USES= gettext gmake libtool:keepla pathfix pkgconfig tar:bzip2 |
30 |
USES= gettext gmake libtool:keepla pathfix pkgconfig tar:bzip2 |
20 |
USE_GNOME= intlhack glib20 introspection:build,run |
31 |
USE_GNOME= intlhack glib20 introspection:build,run |
21 |
GNU_CONFIGURE= yes |
32 |
GNU_CONFIGURE= yes |
Lines 29-40
CPPFLAGS+= -I${LOCALBASE}/include
Link Here
|
29 |
LDFLAGS+= -L${LOCALBASE}/lib |
40 |
LDFLAGS+= -L${LOCALBASE}/lib |
30 |
INSTALL_TARGET= install-strip |
41 |
INSTALL_TARGET= install-strip |
31 |
|
42 |
|
32 |
BUILD_DEPENDS+= ${LOCALBASE}/share/sgml/docbook/4.1:${PORTSDIR}/textproc/docbook-sgml \ |
|
|
33 |
${LOCALBASE}/share/xml/docbook/4.1.2:${PORTSDIR}/textproc/docbook-xml \ |
34 |
xsltproc:${PORTSDIR}/textproc/libxslt \ |
35 |
${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl |
36 |
|
37 |
post-install: |
38 |
@${MKDIR} ${STAGEDIR}/var/lib/DeviceKit-power |
39 |
|
40 |
.include <bsd.port.mk> |
43 |
.include <bsd.port.mk> |