# $NetBSD: Makefile,v 1.9 2017/11/26 10:45:28 wiz Exp $ DISTNAME= gprbuild-aux-${SNAPSHOT} CATEGORIES= devel MASTER_SITES= https://codeload.github.com/AdaCore/gprbuild/tar.gz/${TAGNAME}?dummy=/ DISTFILES= gprbuild-${TAGNAME}.tar.gz MAINTAINER= draco@marino.st HOMEPAGE= https://github.com/AdaCore/gprbuild COMMENT= Adacore multi-language software build tool LICENSE= gnu-gpl-v3 SNAPSHOT= 20160609 TAGNAME= 376670f USE_LANGUAGES= c ada 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 SUBST_CLASSES= lbase SUBST_STAGE.lbase= post-patch SUBST_FILES.lbase= share/gprconfig/compilers.xml SUBST_SED.lbase= -e "s|/usr/local|${LOCALBASE}|" SUBST_MESSAGE.lbase= Ensure pkgsrc localbase is used post-patch: ${MKDIR} ${WRKDIR}/trash ${BUILD_DIRS} ${CP} ${FILESDIR}/Makefile.BSD ${BUILD_DIRS}/Makefile ${MV} ${WRKSRC}/share/gprconfig/*.orig ${WRKDIR}/trash .include "../../textproc/xmlada/buildlink3.mk" .include "../../mk/bsd.pkg.mk"