Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Nov 2013 21:06:15 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333448 - head/x11-toolkits/qtada
Message-ID:  <201311102106.rAAL6FcH038185@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sun Nov 10 21:06:15 2013
New Revision: 333448
URL: http://svnweb.freebsd.org/changeset/ports/333448

Log:
  x11-toolkits/qtada: Convert to staging

Modified:
  head/x11-toolkits/qtada/Makefile

Modified: head/x11-toolkits/qtada/Makefile
==============================================================================
--- head/x11-toolkits/qtada/Makefile	Sun Nov 10 20:45:09 2013	(r333447)
+++ head/x11-toolkits/qtada/Makefile	Sun Nov 10 21:06:15 2013	(r333448)
@@ -17,27 +17,24 @@ BUILD_DEPENDS=	gprbuild>=20120510:${PORT
 USES=		ada gmake pkgconfig
 GNU_CONFIGURE=	yes
 USE_QT4=	corelib gui xml designer sql opengl webkit
-DESTINY=	${WRKDIR}/destino
-MAKE_ENV=	DESTDIR=${DESTINY}
+NO_MTREE=	yes
 
 #CONFIGURE_ARGS=	--with-gtkada=NO
 
-NO_STAGE=	yes
 post-install:
-	${MV} ${DESTINY}${PREFIX}/examples ${DESTINY}${PREFIX}/share/
-	${CP} -pR ${DESTINY}${PREFIX}/ ${PREFIX}/
-	@cd ${DESTINY}${PREFIX}; ${FIND} * \( -type f -or -type l \) | \
-	   ${SORT} > ${WRKDIR}/PLIST.all
-	@cd ${DESTINY}${PREFIX}; ${FIND} * -type d | ${AWK} '/\//' | \
+	${MKDIR} ${STAGEDIR}${PREFIX}/share
+	${MV} ${STAGEDIR}${PREFIX}/examples ${STAGEDIR}${PREFIX}/share/
+	@cd ${STAGEDIR}${PREFIX}; ${FIND} * \( -type f -or -type l \) | \
+	   ${SORT} > ${TMPPLIST}
+	@cd ${STAGEDIR}${PREFIX}; ${FIND} * -type d | ${AWK} '/\//' | \
 	   ${SORT} -r | ${SED} -e '/lib\/gnat$$/d' -e '/share\/doc$$/d' \
 	   -e '/share\/gps$$/d' -e '/share\/gps\/plug-ins$$/d' \
 	   -e '/share\/gprconfig$$/d' -e 's/^/@dirrm /g' \
-	   >> ${WRKDIR}/PLIST.all
-	@echo "@unexec rmdir %D/lib/gnat 2>/dev/null || true" >> ${WRKDIR}/PLIST.all
-	@echo "@unexec rmdir %D/share/doc 2>/dev/null || true" >> ${WRKDIR}/PLIST.all
-	@echo "@unexec rmdir %D/share/gprconfig 2>/dev/null || true" >> ${WRKDIR}/PLIST.all
-	@echo "@unexec rmdir %D/share/gps/plug-ins 2>/dev/null || true" >> ${WRKDIR}/PLIST.all
-	@echo "@unexec rmdir %D/share/gps 2>/dev/null || true" >> ${WRKDIR}/PLIST.all
-	@${CAT} ${WRKDIR}/PLIST.all >> ${TMPPLIST}
+	   >> ${TMPPLIST}
+	@echo "@unexec rmdir %D/lib/gnat 2>/dev/null || true" >> ${TMPPLIST}
+	@echo "@unexec rmdir %D/share/doc 2>/dev/null || true" >> ${TMPPLIST}
+	@echo "@unexec rmdir %D/share/gprconfig 2>/dev/null || true" >> ${TMPPLIST}
+	@echo "@unexec rmdir %D/share/gps/plug-ins 2>/dev/null || true" >> ${TMPPLIST}
+	@echo "@unexec rmdir %D/share/gps 2>/dev/null || true" >> ${TMPPLIST}
 
 .include <bsd.port.mk>



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