Date: Sun, 10 Nov 2013 14:59:13 +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: r333400 - head/lang/asis Message-ID: <201311101459.rAAExDeG010502@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311101459.rAAExDeG010502>