summaryrefslogtreecommitdiffstats
path: root/sysutils/upower/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/upower/Makefile')
-rw-r--r--sysutils/upower/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/sysutils/upower/Makefile b/sysutils/upower/Makefile
index 0a639f9b7..4025ae940 100644
--- a/sysutils/upower/Makefile
+++ b/sysutils/upower/Makefile
@@ -16,15 +16,16 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpolkit-gobject-1.so:${PORTSDIR}/sysutils/polkit \
libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
-USES= gettext gmake libtool:keepla pathfix pkgconfig tar:xz
+USES= gettext gmake libtool:keepla pathfix pkgconfig \
+ python tar:xz
USE_GNOME= intlhack glib20 introspection:build
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-USE_PYTHON= yes
CONFIGURE_ARGS= --disable-gtk-doc \
--localstatedir=/var
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+INSTALL_TARGET= install-strip
CONFIGURE_ENV= GTKDOC="false"
.if defined(NO_INSTALL_MANPAGES)
@@ -38,7 +39,4 @@ USE_GNOME+= libxslt:build
PLIST_SUB+= MAN=""
.endif
-post-install:
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so*
-
.include <bsd.port.mk>