# $NetBSD: Makefile,v 1.11 2018/07/04 13:40:14 jperkin 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= pkgsrc-users@NetBSD.org 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= pre-configure 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"