svn commit: r333404 - head/lang/gnat_util
John Marino
marino at FreeBSD.org
Sun Nov 10 15:20:11 UTC 2013
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>
More information about the svn-ports-all
mailing list