- Convert to USES=qmake
- Strip binaries
This commit is contained in:
parent
c01d315d9c
commit
40d3970040
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334502
1 changed files with 4 additions and 7 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue