2018-07-04 15:40:07 +02:00
|
|
|
# $NetBSD: Makefile,v 1.11 2018/07/04 13:40:14 jperkin Exp $
|
2011-02-03 20:04:02 +01:00
|
|
|
|
|
|
|
DISTNAME= gprbuild-aux-${SNAPSHOT}
|
|
|
|
CATEGORIES= devel
|
2016-11-25 21:36:49 +01:00
|
|
|
MASTER_SITES= https://codeload.github.com/AdaCore/gprbuild/tar.gz/${TAGNAME}?dummy=/
|
|
|
|
DISTFILES= gprbuild-${TAGNAME}.tar.gz
|
2011-02-03 20:04:02 +01:00
|
|
|
|
2018-04-02 11:30:06 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2017-11-26 11:45:28 +01:00
|
|
|
HOMEPAGE= https://github.com/AdaCore/gprbuild
|
2011-02-03 20:04:02 +01:00
|
|
|
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
|
|
|
|
2016-11-25 21:36:49 +01:00
|
|
|
SNAPSHOT= 20160609
|
|
|
|
TAGNAME= 376670f
|
2012-07-08 22:08:42 +02:00
|
|
|
USE_LANGUAGES= c ada
|
2016-11-25 21:36:49 +01:00
|
|
|
BUILD_MAKE_FLAGS= BUILD=production \
|
|
|
|
PROCESSORS=${MAKE_JOBS:U1:Q}
|
|
|
|
MAKE_ENV= ADA_PROJECT_PATH=${PREFIX}/lib/gnat
|
|
|
|
WRKSRC= ${WRKDIR}/gprbuild-${TAGNAME}
|
|
|
|
BUILD_DIRS= ${WRKSRC}/construction
|
2011-02-03 20:04:02 +01:00
|
|
|
|
2016-11-26 04:37:25 +01:00
|
|
|
SUBST_CLASSES= lbase
|
|
|
|
|
2018-07-04 15:40:07 +02:00
|
|
|
SUBST_STAGE.lbase= pre-configure
|
2016-11-26 04:37:25 +01:00
|
|
|
SUBST_FILES.lbase= share/gprconfig/compilers.xml
|
|
|
|
SUBST_SED.lbase= -e "s|/usr/local|${LOCALBASE}|"
|
|
|
|
SUBST_MESSAGE.lbase= Ensure pkgsrc localbase is used
|
|
|
|
|
2016-11-25 21:36:49 +01:00
|
|
|
post-patch:
|
|
|
|
${MKDIR} ${WRKDIR}/trash ${BUILD_DIRS}
|
|
|
|
${CP} ${FILESDIR}/Makefile.BSD ${BUILD_DIRS}/Makefile
|
|
|
|
${MV} ${WRKSRC}/share/gprconfig/*.orig ${WRKDIR}/trash
|
2014-04-30 18:28:09 +02:00
|
|
|
|
2011-02-03 20:04:02 +01:00
|
|
|
.include "../../textproc/xmlada/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|