diff options
author | bapt <bapt@FreeBSD.org> | 2014-04-26 08:11:09 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-04-26 08:11:09 +0800 |
commit | d915dc22e16462342e4e075701528a5df0b03f7f (patch) | |
tree | 68cf5c523ddfbd4b4f021d9a32acc3ab53a473fc /sysutils | |
parent | 0f23e1f11c087ae9bc01493b44f0b4e9419aa587 (diff) | |
download | freebsd-ports-gnome-d915dc22e16462342e4e075701528a5df0b03f7f.tar.gz freebsd-ports-gnome-d915dc22e16462342e4e075701528a5df0b03f7f.tar.zst freebsd-ports-gnome-d915dc22e16462342e4e075701528a5df0b03f7f.zip |
Support stage
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/upower/Makefile | 29 | ||||
-rw-r--r-- | sysutils/upower/pkg-plist | 4 |
2 files changed, 16 insertions, 17 deletions
diff --git a/sysutils/upower/Makefile b/sysutils/upower/Makefile index 66f2d678b403..8dc4af86ec1e 100644 --- a/sysutils/upower/Makefile +++ b/sysutils/upower/Makefile @@ -4,7 +4,7 @@ PORTNAME= upower PORTVERSION= 0.9.7 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= sysutils MASTER_SITES= http://upower.freedesktop.org/releases/ @@ -12,16 +12,15 @@ MAINTAINER= gnome@FreeBSD.org COMMENT= D-Bus daemon for simplifying power management tasks BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection -LIB_DEPENDS= polkit-gobject-1.0:${PORTSDIR}/sysutils/polkit \ - dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib +LIB_DEPENDS= libpolkit-gobject-1.so:${PORTSDIR}/sysutils/polkit \ + libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib RUN_DEPENDS= ${LOCALBASE}/lib/girepository-1.0/GObject-2.0.typelib:${PORTSDIR}/devel/gobject-introspection LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -USES= gettext gmake pkgconfig -USE_BZIP2= yes -USE_GNOME= gnomehack intlhack ltverhack glib20 -USE_AUTOTOOLS= libtool +USES= gettext gmake libtool:keepla pathfix pkgconfig tar:bzip2 +USE_GNOME= intlhack glib20 +GNU_CONFIGURE= yes USE_LDCONFIG= yes USE_PYTHON= yes CONFIGURE_ARGS= --disable-gtk-doc \ @@ -30,18 +29,14 @@ CONFIGURE_ARGS= --disable-gtk-doc \ CONFIGURE_ENV= GTKDOC="false" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +INSTALL_TARGET= install-strip -.if defined(NO_INSTALL_MANPAGES) -CONFIGURE_ARGS+=--disable-man-pages -.else BUILD_DEPENDS+= ${LOCALBASE}/share/sgml/docbook/4.1:${PORTSDIR}/textproc/docbook-sgml \ - ${LOCALBASE}/share/xml/docbook/4.1.2:${PORTSDIR}/textproc/docbook-xml \ - xsltproc:${PORTSDIR}/textproc/libxslt \ + ${LOCALBASE}/share/xml/docbook/4.1.2:${PORTSDIR}/textproc/docbook-xml \ + xsltproc:${PORTSDIR}/textproc/libxslt \ ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl -MAN1= upower.1 -MAN7= UPower.7 -MAN8= upowerd.8 -.endif -NO_STAGE= yes +post-install: + @${MKDIR} ${STAGEDIR}/var/lib/DeviceKit-power + .include <bsd.port.mk> diff --git a/sysutils/upower/pkg-plist b/sysutils/upower/pkg-plist index 70856e89c0ff..02cbd54af75c 100644 --- a/sysutils/upower/pkg-plist +++ b/sysutils/upower/pkg-plist @@ -17,9 +17,13 @@ lib/libupower-glib.a lib/libupower-glib.la lib/libupower-glib.so lib/libupower-glib.so.1 +lib/libupower-glib.so.1.0.1 libdata/pkgconfig/upower-glib.pc libexec/devkit-power-daemon libexec/upowerd +man/man1/upower.1.gz +man/man7/UPower.7.gz +man/man8/upowerd.8.gz share/dbus-1/interfaces/org.freedesktop.UPower.Device.xml share/dbus-1/interfaces/org.freedesktop.UPower.KbdBacklight.xml share/dbus-1/interfaces/org.freedesktop.UPower.QoS.xml |