8c6aee8563
pkglint -Wall -F --only aligned --only indent -r No manual corrections.
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.5 2019/11/03 19:04:01 rillig Exp $
|
|
|
|
PKGNAME= gnat_util-${SNAPSHOT}
|
|
CATEGORIES= lang
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-${GCC_VERSION}/}
|
|
DISTFILES= gcc-${GCC_VERSION}.tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.dragonlace.net/
|
|
COMMENT= Library used to build GNAT source-based tools
|
|
LICENSE= gnu-gpl-v3 AND gnu-lgpl-v3
|
|
|
|
# gnat_util existed to construct gprbuild-aux which no longer requires it.
|
|
# The package is still buildable, but its not practically useful.
|
|
PKG_SKIP_REASON= Deprecated (no longer useful), scheduled for removal Jan 2017
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.include "../../lang/gcc5-aux/Makefile.version"
|
|
.include "Makefile.sources"
|
|
|
|
MAKE_ENV= MAKEOBJDIR=${WRKSRC}/obj
|
|
USE_LANGUAGES= c ada
|
|
|
|
# Automatic package list generation
|
|
GENERATE_PLIST= cd ${DESTDIR}${PREFIX};
|
|
GENERATE_PLIST+= ${FIND} * \( -type f -or -type l \) | ${SORT} -dr;
|
|
|
|
post-extract:
|
|
${MKDIR} ${WRKSRC}/obj
|
|
.for f in Makefile gnat_util.gpr sdefault_adb.gnat_util
|
|
${CP} ${FILESDIR}/${f} ${WRKSRC}/
|
|
.endfor
|
|
.for f in ${GNAT_SRCS}
|
|
${CP} ${WRKDIR}/gcc-${GCC_VERSION}/gcc/ada/${f} ${WRKSRC}/
|
|
.endfor
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|