summaryrefslogtreecommitdiffstats
path: root/sysutils/upower/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/upower/Makefile')
-rw-r--r--sysutils/upower/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/sysutils/upower/Makefile b/sysutils/upower/Makefile
index 74f6a331f..5c55ebaeb 100644
--- a/sysutils/upower/Makefile
+++ b/sysutils/upower/Makefile
@@ -1,6 +1,6 @@
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
-# $MCom: ports/trunk/sysutils/upower/Makefile 18681 2013-09-15 22:52:32Z marcus $
+# $MCom$
PORTNAME= upower
PORTVERSION= 0.9.21
@@ -16,11 +16,10 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpolkit-gobject-1.so:${PORTSDIR}/sysutils/polkit \
libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
-NO_STAGE= yes
USES= gettext gmake pathfix pkgconfig
USE_XZ= yes
USE_GNOME= intlhack ltverhack glib20 introspection:build
-USE_AUTOTOOLS= libtool
+GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_PYTHON= yes
CONFIGURE_ARGS= --disable-gtk-doc \
@@ -31,14 +30,16 @@ CONFIGURE_ENV= GTKDOC="false"
.if defined(NO_INSTALL_MANPAGES)
CONFIGURE_ARGS+=--disable-man-pages
+PLIST_SUB+= MAN="@comment "
.else
BUILD_DEPENDS+= ${LOCALBASE}/share/sgml/docbook/4.1/dtd/catalog:${PORTSDIR}/textproc/docbook-410 \
${LOCALBASE}/share/xml/docbook/4.1.2/docbookx.dtd:${PORTSDIR}/textproc/docbook-sk \
${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl
USE_GNOME+= libxslt:build
-MAN1= upower.1
-MAN7= UPower.7
-MAN8= upowerd.8
+PLIST_SUB+= MAN=""
.endif
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so*
+
.include <bsd.port.mk>