- Convert to USES=qmake

- Strip binaries
This commit is contained in:
Jason E. Hale 2013-11-21 16:14:42 +00:00
parent c01d315d9c
commit 40d3970040
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334502

View file

@ -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>