aboutsummaryrefslogtreecommitdiff
path: root/sysutils/gnome-power-manager
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-04-25 23:59:21 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-04-25 23:59:21 +0000
commitade54782036281ae3a0f4291c7004fc4b8b4faed (patch)
treec8104236e1cc19aa4858d4b045f1996eccaaddbf /sysutils/gnome-power-manager
parent1397f963630d65821e8ac80504480097c5e76d34 (diff)
downloadports-ade54782036281ae3a0f4291c7004fc4b8b4faed.tar.gz
ports-ade54782036281ae3a0f4291c7004fc4b8b4faed.zip
Support stage
Always install manpages
Notes
Notes: svn path=/head/; revision=352183
Diffstat (limited to 'sysutils/gnome-power-manager')
-rw-r--r--sysutils/gnome-power-manager/Makefile30
-rw-r--r--sysutils/gnome-power-manager/pkg-plist4
2 files changed, 13 insertions, 21 deletions
diff --git a/sysutils/gnome-power-manager/Makefile b/sysutils/gnome-power-manager/Makefile
index 5c494a29ef75..e2fbb06b8eb8 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 4bd92ff7ec09..21cad462c87a 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