diff options
author | bapt <bapt@FreeBSD.org> | 2014-04-26 07:59:21 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-04-26 07:59:21 +0800 |
commit | 163df6da8f076d7eeee3bac9cebdc1438e485346 (patch) | |
tree | c8104236e1cc19aa4858d4b045f1996eccaaddbf /sysutils | |
parent | b1c677b810aff2b4cc53aae57c3cdad06b3be80a (diff) | |
download | freebsd-ports-graphics-163df6da8f076d7eeee3bac9cebdc1438e485346.tar.gz freebsd-ports-graphics-163df6da8f076d7eeee3bac9cebdc1438e485346.tar.zst freebsd-ports-graphics-163df6da8f076d7eeee3bac9cebdc1438e485346.zip |
Support stage
Always install manpages
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/gnome-power-manager/Makefile | 30 | ||||
-rw-r--r-- | sysutils/gnome-power-manager/pkg-plist | 4 |
2 files changed, 13 insertions, 21 deletions
diff --git a/sysutils/gnome-power-manager/Makefile b/sysutils/gnome-power-manager/Makefile index 5c494a29ef7..e2fbb06b8eb 100644 --- a/sysutils/gnome-power-manager/Makefile +++ b/sysutils/gnome-power-manager/Makefile @@ -4,7 +4,7 @@ PORTNAME= gnome-power-manager PORTVERSION= 2.32.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= sysutils gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 @@ -12,44 +12,34 @@ DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= Power management system for the GNOME Desktop -LIB_DEPENDS= upower-glib.1:${PORTSDIR}/sysutils/upower \ - canberra-gtk.0:${PORTSDIR}/audio/libcanberra \ - notify.4:${PORTSDIR}/devel/libnotify \ - execinfo:${PORTSDIR}/devel/libexecinfo \ - unique-1.0.2:${PORTSDIR}/x11-toolkits/unique +LIB_DEPENDS= libupower-glib.so:${PORTSDIR}/sysutils/upower \ + libcanberra-gtk.so:${PORTSDIR}/audio/libcanberra \ + libnotify.so:${PORTSDIR}/devel/libnotify \ + libexecinfo.so:${PORTSDIR}/devel/libexecinfo \ + libunique-1.0.so:${PORTSDIR}/x11-toolkits/unique RUN_DEPENDS= pkexec:${PORTSDIR}/sysutils/polkit CONFLICTS= gnome-power-manager-3.[0-9]* -USES= gettext gmake pkgconfig -USE_BZIP2= yes +USES= gettext gmake libtool pathfix pkgconfig tar:bzip2 INSTALLS_OMF= yes INSTALLS_ICONS= yes -USE_AUTOTOOLS= libtool -USE_GNOME= gnomeprefix gnomehack intlhack libwnck \ - gnomedocutils gnomepanel +USE_GNOME= gnomeprefix intlhack libwnck gnomedocutils gnomepanel +GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-doc-dir=${PREFIX}/share/doc \ --disable-docbook-docs \ --enable-hal CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +INSTALL_TARGET= install-strip GCONF_SCHEMAS= gnome-power-manager.schemas -.if !defined(NO_INSTALL_MANPAGES) BUILD_DEPENDS+= docbook2html:${PORTSDIR}/textproc/docbook-utils \ ${LOCALBASE}/share/sgml/docbook/4.1:${PORTSDIR}/textproc/docbook-sgml -MAN1= gnome-power-manager.1 gnome-power-preferences.1 \ - gnome-power-statistics.1 -.endif -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|-lresolv|| ; s|-Werror||g' \ ${WRKSRC}/configure -.if defined(NO_INSTALL_MANPAGES) - @${REINPLACE_CMD} -e "s|2MAN_TRUE=$$|2MAN_TRUE='#'|g ; \ - s|2MAN_FALSE='#'|2MAN_FALSE=|g" ${WRKSRC}/configure -.endif .include <bsd.port.mk> diff --git a/sysutils/gnome-power-manager/pkg-plist b/sysutils/gnome-power-manager/pkg-plist index 4bd92ff7ec0..21cad462c87 100644 --- a/sysutils/gnome-power-manager/pkg-plist +++ b/sysutils/gnome-power-manager/pkg-plist @@ -7,6 +7,9 @@ libdata/bonobo/servers/GNOME_BrightnessApplet.server libdata/bonobo/servers/GNOME_InhibitApplet.server libexec/gnome-brightness-applet libexec/gnome-inhibit-applet +man/man1/gnome-power-manager.1.gz +man/man1/gnome-power-preferences.1.gz +man/man1/gnome-power-statistics.1.gz sbin/gnome-power-backlight-helper share/applications/gnome-power-preferences.desktop share/applications/gnome-power-statistics.desktop @@ -303,7 +306,6 @@ share/gnome-2.0/ui/GNOME_InhibitApplet.xml %%DATADIR%%/icons/hicolor/48x48/status/gpm-ups-100-charging.png %%DATADIR%%/icons/hicolor/48x48/status/gpm-ups-100.png %%DATADIR%%/icons/hicolor/48x48/status/gpm-ups-missing.png -%%DATADIR%%/icons/hicolor/icon-theme.cache %%DATADIR%%/icons/hicolor/scalable/actions/gpm-hibernate.svg %%DATADIR%%/icons/hicolor/scalable/actions/gpm-suspend.svg %%DATADIR%%/icons/hicolor/scalable/status/gpm-ac-adapter.svg |