Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Nov 2013 17:32:10 +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: r333414 - head/devel/gprbuild
Message-ID:  <201311101732.rAAHWA1P065185@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sun Nov 10 17:32:10 2013
New Revision: 333414
URL: http://svnweb.freebsd.org/changeset/ports/333414

Log:
  devel/gprbuild: Convert to staging
  
  Also convert USE_GMAKE to USES

Modified:
  head/devel/gprbuild/Makefile

Modified: head/devel/gprbuild/Makefile
==============================================================================
--- head/devel/gprbuild/Makefile	Sun Nov 10 17:29:21 2013	(r333413)
+++ head/devel/gprbuild/Makefile	Sun Nov 10 17:32:10 2013	(r333414)
@@ -20,10 +20,8 @@ DOCSDIR=	share/doc/gprbuild
 WRKSRC=		${WRKDIR}/gprbuild-2012-src
 SNAPSHOT=	20120510
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
-USES+=		ada
+USES=		ada gmake
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 .if ${OPSYS} == "FreeBSD"
@@ -34,4 +32,8 @@ post-patch:
 	@${REINPLACE_CMD} -e "s,@AUXPREFIX@,${PREFIX}/gcc-aux," \
 	  ${WRKSRC}/share/gprconfig/compilers.xml
 
+post-install:
+	cd ${STAGEDIR}${PREFIX}; ${FIND} share -type d -empty | \
+	  ${SORT} -dr | ${XARGS} ${RMDIR}
+
 .include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311101732.rAAHWA1P065185>