diff options
author | marino <marino@FreeBSD.org> | 2013-11-10 23:20:10 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2013-11-10 23:20:10 +0800 |
commit | b5bcb1c15dfc915529a617133609a1ee0964be4e (patch) | |
tree | 59f5b66563e8baaa422babf5abf743f894790d42 /lang/gnat_util | |
parent | 55d3f7e5c288e7c1d67cd0d0089bf5251132d9cd (diff) | |
download | freebsd-ports-gnome-b5bcb1c15dfc915529a617133609a1ee0964be4e.tar.gz freebsd-ports-gnome-b5bcb1c15dfc915529a617133609a1ee0964be4e.tar.zst freebsd-ports-gnome-b5bcb1c15dfc915529a617133609a1ee0964be4e.zip |
lang/gnat_util: Convert to staging
Diffstat (limited to 'lang/gnat_util')
-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> |