summaryrefslogtreecommitdiff
path: root/devel/gprbuild-aux/Makefile
diff options
context:
space:
mode:
authormarino <marino>2014-04-30 16:28:09 +0000
committermarino <marino>2014-04-30 16:28:09 +0000
commitc79b71848a3c8c9093276950a3f083001445570e (patch)
treeaff9d17f2bc95fdfec8e92ad2853890cf3716a37 /devel/gprbuild-aux/Makefile
parentf6d1735b5ef689b0aba10d8f399c4e9603feb2fc (diff)
downloadpkgsrc-c79b71848a3c8c9093276950a3f083001445570e.tar.gz
devel/gprbuild-aux: Update version GPL 2012 to GPL 2013
GPRBuild needs to be built with GNAT sources, so it now depends on the new library lang/gnat_util. It installs two new programs: gprinstall and gprslave. This is the latest version published by Adacore.
Diffstat (limited to 'devel/gprbuild-aux/Makefile')
-rw-r--r--devel/gprbuild-aux/Makefile21
1 files changed, 17 insertions, 4 deletions
diff --git a/devel/gprbuild-aux/Makefile b/devel/gprbuild-aux/Makefile
index cd9bf49b72e..1b595a8b905 100644
--- a/devel/gprbuild-aux/Makefile
+++ b/devel/gprbuild-aux/Makefile
@@ -1,24 +1,27 @@
-# $NetBSD: Makefile,v 1.3 2012/10/31 11:17:03 asau Exp $
+# $NetBSD: Makefile,v 1.4 2014/04/30 16:28:09 marino Exp $
#
DISTNAME= gprbuild-aux-${SNAPSHOT}
CATEGORIES= devel
MASTER_SITES= http://downloads.dragonlace.net/src/ \
http://dragonlace.mirrors.ada.cx/src/
-DISTFILES= gprbuild-gpl-2012-src.tgz
+DISTFILES= gprbuild-gpl-${YEAR}-src.tgz
MAINTAINER= draco@marino.st
HOMEPAGE= http://www.adacore.com/home/products/gnatpro/toolsuite/gprbuild/
COMMENT= Adacore multi-language software build tool
LICENSE= gnu-gpl-v3
-SNAPSHOT= 20120510
+SNAPSHOT= 20130416
+YEAR= 2013
GNU_CONFIGURE= yes
USE_LANGUAGES= c ada
USE_TOOLS= gmake
+MAKE_ARGS+= BUILD=production
+MAKE_ARGS+= PROCESSORS=${MAKE_JOBS:U1:Q}
MAKE_ENV+= ADA_PROJECT_PATH=${PREFIX}/lib/gnat
CONFIGURE_ENV+= ADA_PROJECT_PATH=${PREFIX}/lib/gnat
-WRKSRC= ${WRKDIR}/gprbuild-2012-src
+WRKSRC= ${WRKDIR}/gprbuild-${YEAR}-src
SUBST_CLASSES+= xml
SUBST_STAGE.xml= pre-configure
@@ -26,5 +29,15 @@ SUBST_MESSAGE.xml= Edit compilers.xml to support lang/gcc-aux runtime
SUBST_FILES.xml= share/gprconfig/compilers.xml
SUBST_SED.xml= -e "s,@AUXPREFIX@,${PREFIX}/gcc-aux,"
+do-build:
+ # Recreate the do-build target without the -J parameter
+ # It interferes with the PROCESSORS configure argument
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} gmake ${MAKE_ARGS} all
+
+post-install:
+ cd ${DESTDIR}${PREFIX}; ${FIND} share/examples -type d -empty | \
+ ${SORT} -dr | ${XARGS} ${RMDIR}
+
.include "../../textproc/xmlada/buildlink3.mk"
+.include "../../lang/gnat_util/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"