2014-05-09 14:14:58 +02:00
|
|
|
# $NetBSD: Makefile,v 1.5 2014/05/09 12:14:58 marino Exp $
|
2011-02-03 20:04:02 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= gprbuild-aux-${SNAPSHOT}
|
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://downloads.dragonlace.net/src/ \
|
|
|
|
http://dragonlace.mirrors.ada.cx/src/
|
2014-04-30 18:28:09 +02:00
|
|
|
DISTFILES= gprbuild-gpl-${YEAR}-src.tgz
|
2011-02-03 20:04:02 +01:00
|
|
|
|
|
|
|
MAINTAINER= draco@marino.st
|
|
|
|
HOMEPAGE= http://www.adacore.com/home/products/gnatpro/toolsuite/gprbuild/
|
|
|
|
COMMENT= Adacore multi-language software build tool
|
2012-07-08 22:08:42 +02:00
|
|
|
LICENSE= gnu-gpl-v3
|
2011-02-03 20:04:02 +01:00
|
|
|
|
2014-04-30 18:28:09 +02:00
|
|
|
SNAPSHOT= 20130416
|
|
|
|
YEAR= 2013
|
2011-02-03 20:04:02 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2012-07-08 22:08:42 +02:00
|
|
|
USE_LANGUAGES= c ada
|
2011-02-03 20:04:02 +01:00
|
|
|
USE_TOOLS= gmake
|
2014-04-30 18:28:09 +02:00
|
|
|
MAKE_ARGS+= BUILD=production
|
|
|
|
MAKE_ARGS+= PROCESSORS=${MAKE_JOBS:U1:Q}
|
2011-02-03 20:04:02 +01:00
|
|
|
MAKE_ENV+= ADA_PROJECT_PATH=${PREFIX}/lib/gnat
|
2012-07-08 22:08:42 +02:00
|
|
|
CONFIGURE_ENV+= ADA_PROJECT_PATH=${PREFIX}/lib/gnat
|
2014-04-30 18:28:09 +02:00
|
|
|
WRKSRC= ${WRKDIR}/gprbuild-${YEAR}-src
|
2011-02-03 20:04:02 +01:00
|
|
|
|
2012-07-08 22:08:42 +02:00
|
|
|
SUBST_CLASSES+= xml
|
|
|
|
SUBST_STAGE.xml= pre-configure
|
|
|
|
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,"
|
2011-02-03 20:04:02 +01:00
|
|
|
|
2014-04-30 18:28:09 +02:00
|
|
|
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
|
|
|
|
|
2011-02-03 20:04:02 +01:00
|
|
|
.include "../../textproc/xmlada/buildlink3.mk"
|
2014-04-30 18:28:09 +02:00
|
|
|
.include "../../lang/gnat_util/buildlink3.mk"
|
2011-02-03 20:04:02 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|