From owner-svn-ports-head@FreeBSD.ORG Sun Nov 10 14:59:13 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BFFED685; Sun, 10 Nov 2013 14:59:13 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8F3552F3D; Sun, 10 Nov 2013 14:59:13 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAAExDIa010504; Sun, 10 Nov 2013 14:59:13 GMT (envelope-from marino@svn.freebsd.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAAExDeG010502; Sun, 10 Nov 2013 14:59:13 GMT (envelope-from marino@svn.freebsd.org) Message-Id: <201311101459.rAAExDeG010502@svn.freebsd.org> From: John Marino Date: Sun, 10 Nov 2013 14:59:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333400 - head/lang/asis X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Nov 2013 14:59:13 -0000 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