Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Nov 2013 15:20:11 +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: r333404 - head/lang/gnat_util
Message-ID:  <201311101520.rAAFKBlq017958@svn.freebsd.org>

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

Log:
  lang/gnat_util: Convert to staging

Modified:
  head/lang/gnat_util/Makefile

Modified: head/lang/gnat_util/Makefile
==============================================================================
--- head/lang/gnat_util/Makefile	Sun Nov 10 15:10:03 2013	(r333403)
+++ head/lang/gnat_util/Makefile	Sun Nov 10 15:20:10 2013	(r333404)
@@ -13,13 +13,11 @@ COMMENT=	Library used to build GNAT tool
 
 USES=		ada
 USE_BZIP2=	yes
+NO_MTREE=	yes
 DISTINFO_FILE=	${.CURDIR}/../gcc-aux/distinfo
 WRKSRC=		${WRKDIR}/${PORTNAME}
-DESTINY=	${WRKDIR}/destino
-MAKE_ENV=	DESTDIR=${DESTINY} \
-		MAKEOBJDIR=${WRKSRC}/obj
+MAKE_ENV=	MAKEOBJDIR=${WRKSRC}/obj
 
-NO_STAGE=	yes
 .include "${.CURDIR}/Makefile.sources"
 .include "${.CURDIR}/../gcc-aux/Makefile.version"
 .include <bsd.port.pre.mk>
@@ -34,14 +32,12 @@ post-extract:
 .endfor
 
 post-install:
-	${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} '/\//' | \
+	@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 's/^/@dirrm /g' \
-	   >> ${WRKDIR}/PLIST.all
-	@echo "@unexec rmdir %D/lib/gnat 2>/dev/null || true" >> ${WRKDIR}/PLIST.all
-	@${CAT} ${WRKDIR}/PLIST.all >> ${TMPPLIST}
+	   >> ${TMPPLIST}
+	@echo "@unexec rmdir %D/lib/gnat 2>/dev/null || true" >> ${TMPPLIST}
 
 .include <bsd.port.post.mk>
 



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