svn commit: r333378 - head/textproc/xmlada

John Marino marino at FreeBSD.org
Sun Nov 10 11:27:07 UTC 2013


Author: marino
Date: Sun Nov 10 11:27:07 2013
New Revision: 333378
URL: http://svnweb.freebsd.org/changeset/ports/333378

Log:
  textproc/xmlada: Convert to staging
  
  * convert USE_GMAKE to USES
  * Don't install license; it messed up auto-plist
  * As result, bump PORTREVISION since it changes previous plist

Modified:
  head/textproc/xmlada/Makefile

Modified: head/textproc/xmlada/Makefile
==============================================================================
--- head/textproc/xmlada/Makefile	Sun Nov 10 11:14:29 2013	(r333377)
+++ head/textproc/xmlada/Makefile	Sun Nov 10 11:27:07 2013	(r333378)
@@ -3,6 +3,7 @@
 
 PORTNAME=	xmlada
 PORTVERSION=	4.4.0.0
+PORTREVISION=	1
 CATEGORIES=	textproc
 MASTER_SITES=	http://downloads.dragonlace.net/src/
 
@@ -12,18 +13,15 @@ COMMENT=	Adacore XML suite for the Ada l
 LICENSE=	GPLv2
 
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
 USE_BZIP2=	yes
-USES=		ada
-
-DESTINY=	${WRKDIR}/destino
-MAKE_ENV+=	DESTDIR=${DESTINY}
+USES=		ada gmake
+NO_MTREE=	yes
 
 MAKE_JOBS_UNSAFE=	yes
+NO_LICENSES_INSTALL=	yes
 
 OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MDOCS}
@@ -48,17 +46,15 @@ post-patch:
 .endif
 
 post-install:
-	${RM} -rf ${DESTINY}${PREFIX}/share/doc/xmlada/_sources
-	${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} '/\//' | ${SORT} -r | \
+	${RM} -rf ${STAGEDIR}${PREFIX}/share/doc/xmlada/_sources
+	@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 's/^/@dirrm /g' >> ${WRKDIR}/PLIST.all
-	@echo "@unexec rmdir %D/lib/gnat 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
-	@echo "@unexec rmdir %D/share/doc 2>/dev/null || true" >> ${WRKDIR}/PLIST.all
-	@${CAT} ${WRKDIR}/PLIST.all >> ${TMPPLIST}
+	   -e 's/^/@dirrm /g' >> ${TMPPLIST}
+	@echo "@unexec rmdir %D/lib/gnat 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}
+	@echo "@unexec rmdir %D/share/doc 2>/dev/null || true" >> ${TMPPLIST}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list