diff options
author | John Marino <marino@FreeBSD.org> | 2013-11-10 15:20:10 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2013-11-10 15:20:10 +0000 |
commit | 774b1c507424094e8cd0bc65fc5869e3f20fb832 (patch) | |
tree | 59f5b66563e8baaa422babf5abf743f894790d42 | |
parent | a1385b8a286d707375e59e61bf3e37043f64513e (diff) |
lang/gnat_util: Convert to staging
Notes
Notes:
svn path=/head/; revision=333404
-rw-r--r-- | lang/gnat_util/Makefile | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/lang/gnat_util/Makefile b/lang/gnat_util/Makefile index ba77de7da1ff..c88a6f1d64c0 100644 --- a/lang/gnat_util/Makefile +++ b/lang/gnat_util/Makefile @@ -13,13 +13,11 @@ COMMENT= Library used to build GNAT tools such as ASIS 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> |