30b55df38e
MASTER_SITES= site1 \ site2 style continuation lines to be simple repeated MASTER_SITES+= site1 MASTER_SITES+= site2 lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint accordingly.
57 lines
1.7 KiB
Makefile
57 lines
1.7 KiB
Makefile
# $NetBSD: Makefile,v 1.30 2017/01/19 18:52:17 agc Exp $
|
|
#
|
|
|
|
DISTNAME= gap4r3
|
|
PKGNAME= gap-4.3.5
|
|
PKGREVISION= 1
|
|
CATEGORIES= math
|
|
MASTER_SITES= ftp://ftp-gap.dcs.st-and.ac.uk/pub/gap/gap4/
|
|
MASTER_SITES+= ftp://ftp.math.rwth-aachen.de/pub/gap/gap4/
|
|
MASTER_SITES+= ftp://ftp.ccs.neu.edu/pub/mirrors/ftp-gap.dcs.st-and.ac.uk/pub/gap/gap4/
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
fix4r3n5.tar.gz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.gap-system.org/
|
|
COMMENT= Computational group theory and discrete algebra language
|
|
LICENSE= no-commercial-use
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
SITES.fix4r3n5.tar.gz= ${MASTER_SITES:=bugfixes/}
|
|
|
|
USE_TOOLS+= bsdtar
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
CONFIGURE_ENV+= PREFIX=${PREFIX:Q}
|
|
BUILD_TARGET= default
|
|
|
|
GAP_DIRECTORY= ${PREFIX}/lib/gap4.3
|
|
GAP_PLATFORM= ${MACHINE_GNU_PLATFORM}-${CC}
|
|
|
|
PLIST_SUBST+= GAP_PLATFORM=${GAP_PLATFORM:Q}
|
|
|
|
CHECK_INTERPRETER_SKIP+= lib/gap4.3/pkg/example/make_zoo
|
|
|
|
|
|
INSTALLATION_DIRS= bin ${GAP_DIRECTORY}/bin/${GAP_PLATFORM}
|
|
|
|
post-extract:
|
|
cd ${WRKSRC} && ${TOOLS_PATH.bsdtar} zxf ${DISTDIR}/fix4r3n5.tar.gz
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/${GAP_PLATFORM}/gap \
|
|
${DESTDIR}${GAP_DIRECTORY}/bin/${GAP_PLATFORM}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/${GAP_PLATFORM}/gac \
|
|
${DESTDIR}${GAP_DIRECTORY}/bin/${GAP_PLATFORM}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/gap.sh \
|
|
${DESTDIR}${PREFIX}/bin/gap
|
|
${INSTALL_DATA} ${WRKSRC}/description5 \
|
|
${DESTDIR}${GAP_DIRECTORY}
|
|
${INSTALL_DATA} ${WRKSRC}/sysinfo.gap \
|
|
${DESTDIR}${GAP_DIRECTORY}
|
|
|
|
for I in cnf doc etc grp lib pkg prim small trans tst; do \
|
|
${CP} -R ${WRKSRC}/$$I ${DESTDIR}${GAP_DIRECTORY}; \
|
|
done
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|