svn commit: r333400 - head/lang/asis
John Marino
marino at FreeBSD.org
Sun Nov 10 14:59:13 UTC 2013
Author: marino
Date: Sun Nov 10 14:59:13 2013
New Revision: 333400
URL: http://svnweb.freebsd.org/changeset/ports/333400
Log:
lang/asis: Convert to staging
Modified:
head/lang/asis/Makefile
Modified: head/lang/asis/Makefile
==============================================================================
--- head/lang/asis/Makefile Sun Nov 10 14:26:51 2013 (r333399)
+++ head/lang/asis/Makefile Sun Nov 10 14:59:13 2013 (r333400)
@@ -15,12 +15,9 @@ BUILD_DEPENDS= gnat_util>=2013:${PORTSDI
xmlada>=3.2:${PORTSDIR}/textproc/xmlada
USES= ada gmake
+NO_MTREE= yes
+MAKE_ENV= PROCESSORS=${MAKE_JOBS_NUMBER}
-DESTINY= ${WRKDIR}/destino
-MAKE_ENV= DESTDIR=${DESTINY} \
- PROCESSORS=${MAKE_JOBS_NUMBER}
-
-NO_STAGE= yes
post-extract:
@${REINPLACE_CMD} -e 's|OPSYS|ASISOPSYS|g' \
${WRKSRC}/Makefile \
@@ -31,20 +28,18 @@ post-extract:
do-build:
# This target is recreated because -j cannot be set, but
# MAKE_JOBS_SAFE=yes is needed for PROCESSORS value
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} gmake all
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} gmake ${MAKE_ARGS} all
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 '/share\/doc$$/d' \
-e '/share\/gps$$/d' -e '/share\/gps\/plug-ins$$/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/doc 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
- @${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/doc 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}
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list