summaryrefslogtreecommitdiffstats
path: root/sysutils/gnome-power-manager3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/gnome-power-manager3/Makefile')
-rw-r--r--sysutils/gnome-power-manager3/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/sysutils/gnome-power-manager3/Makefile b/sysutils/gnome-power-manager3/Makefile
index 321ae019b..4271259c0 100644
--- a/sysutils/gnome-power-manager3/Makefile
+++ b/sysutils/gnome-power-manager3/Makefile
@@ -1,9 +1,9 @@
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
-# $MCom: ports/trunk/sysutils/gnome-power-manager3/Makefile 17268 2013-04-01 05:13:11Z marcus $
+# $MCom$
PORTNAME= gnome-power-manager
-PORTVERSION= 3.4.0
+PORTVERSION= 3.6.0
CATEGORIES= sysutils gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
@@ -11,7 +11,7 @@ DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
COMMENT= Power management system for the GNOME Desktop
-LIB_DEPENDS= upower-glib.1:${PORTSDIR}/sysutils/upower \
+LIB_DEPENDS= upower-glib:${PORTSDIR}/sysutils/upower \
CONFLICTS= gnome-power-manager-2.[0-9]*
@@ -20,7 +20,7 @@ USES= gettext pathfix pkgconfig
USE_XZ= yes
USE_GMAKE= yes
INSTALLS_ICONS= yes
-USE_GNOME= gnomeprefix intlhack gtk30 gnomedocutils
+USE_GNOME= gnomeprefix gtk30 intlhack
MAKE_JOBS_UNSAFE=yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-doc-dir=${PREFIX}/share/doc \
@@ -38,10 +38,8 @@ OPTIONS_DEFINE= MANPAGES
BUILD_DEPENDS+= docbook2html:${PORTSDIR}/textproc/docbook-utils \
${LOCALBASE}/share/sgml/docbook/4.1/dtd/catalog:${PORTSDIR}/textproc/docbook-410
MAN1= gnome-power-statistics.1
-.endif
-
+.else
post-patch:
-.if ! ${PORT_OPTIONS:MMANPAGES}
@${REINPLACE_CMD} -e "s|2MAN_TRUE=$$|2MAN_TRUE='#'|g ; \
s|2MAN_FALSE='#'|2MAN_FALSE=|g" ${WRKSRC}/configure
.endif