Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2013 16:14:42 +0000 (UTC)
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334502 - head/sysutils/luckybackup
Message-ID:  <201311211614.rALGEgwc058875@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhale
Date: Thu Nov 21 16:14:42 2013
New Revision: 334502
URL: http://svnweb.freebsd.org/changeset/ports/334502

Log:
  - Convert to USES=qmake
  - Strip binaries

Modified:
  head/sysutils/luckybackup/Makefile

Modified: head/sysutils/luckybackup/Makefile
==============================================================================
--- head/sysutils/luckybackup/Makefile	Thu Nov 21 16:14:25 2013	(r334501)
+++ head/sysutils/luckybackup/Makefile	Thu Nov 21 16:14:42 2013	(r334502)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311211614.rALGEgwc058875>