aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorjhale <jhale@FreeBSD.org>2013-11-22 00:14:42 +0800
committerjhale <jhale@FreeBSD.org>2013-11-22 00:14:42 +0800
commitca79beed89bf11c2b08ac0d284dfb34c7b90afc8 (patch)
tree9c4cb0458ff2a20b452742f0b08710e29200bd30 /sysutils
parent08130c6c129cdcbf2e766eb365e4b16ae1c658ad (diff)
downloadfreebsd-ports-gnome-ca79beed89bf11c2b08ac0d284dfb34c7b90afc8.tar.gz
freebsd-ports-gnome-ca79beed89bf11c2b08ac0d284dfb34c7b90afc8.tar.zst
freebsd-ports-gnome-ca79beed89bf11c2b08ac0d284dfb34c7b90afc8.zip
- Convert to USES=qmake
- Strip binaries
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/luckybackup/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/sysutils/luckybackup/Makefile b/sysutils/luckybackup/Makefile
index 663f00eb64a8..8d4d555c3433 100644
--- a/sysutils/luckybackup/Makefile
+++ b/sysutils/luckybackup/Makefile
@@ -13,12 +13,13 @@ LICENSE= GPLv3
RUN_DEPENDS= rsync:${PORTSDIR}/net/rsync
+USES= qmake
USE_QT4= gui qmake_build moc_build rcc_build uic_build
-MAKE_ENV= INSTALL_ROOT=${STAGEDIR}${PREFIX}
post-patch:
- ${REINPLACE_CMD} -e 's|/usr||g' -e '/INSTALLS/s|debianmenu ||' \
- -e '/manpage/s|share/||' ${WRKSRC}/luckybackup.pro
+ ${REINPLACE_CMD} -e 's|/usr|$$$${PREFIX}|g' -e '/INSTALLS/s|debianmenu ||' \
+ -e '/manpage/s|share/||' -e 's|QMAKE_STRIP.*|QMAKE_STRIP = ${STRIP_CMD}|g' \
+ ${WRKSRC}/luckybackup.pro
${REINPLACE_CMD} -e 's|/usr/bin/||g' -e 's|/usr/share/pixmaps/||g' \
${WRKSRC}/menu/*.desktop
${REINPLACE_CMD} -e 's|/usr|${LOCALBASE}|g' \
@@ -27,8 +28,4 @@ post-patch:
${WRKSRC}/src/global.h \
${WRKSRC}/src/scheduleDialog.cpp
-do-configure:
- @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
- ${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS}
-
.include <bsd.port.mk>