summaryrefslogtreecommitdiffstats
path: root/sysutils/upower/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2014-08-13 22:55:11 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2014-08-13 22:55:11 +0800
commitb68067e5da780c0e2a0862e928c907b8f8660b73 (patch)
tree56e1c21007cf4d60df18b84ba6e0dba593611189 /sysutils/upower/Makefile
parentfcb35eefd4dfbdb779f8666ef8ed813f2931cf16 (diff)
downloadmarcuscom-ports-b68067e5da780c0e2a0862e928c907b8f8660b73.tar.gz
marcuscom-ports-b68067e5da780c0e2a0862e928c907b8f8660b73.tar.zst
marcuscom-ports-b68067e5da780c0e2a0862e928c907b8f8660b73.zip
Convert:
USE_PYTHON* -> USES=python* USE_XZ|USE_BZIP2 -> USES=tar: replace some post-install ${STRIP_CMD} with INSTALL_TARGET=install-strip git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@19804 df743ca5-7f9a-e211-a948-0013205c9059
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>