diff options
author | cjep <cjep@pkgsrc.org> | 2002-08-21 08:04:03 +0000 |
---|---|---|
committer | cjep <cjep@pkgsrc.org> | 2002-08-21 08:04:03 +0000 |
commit | 08da6fc17a40d7381738674495ab023eee9e860c (patch) | |
tree | 38e5ad29886044ce39d66022f1c5443e03d0ef3c /math/gap/Makefile | |
parent | 3a610512a9c557d4189f94ca129c726e33a38dbd (diff) | |
download | pkgsrc-08da6fc17a40d7381738674495ab023eee9e860c.tar.gz |
Initial import of GAP-4.3 (bug fix level 1) into the NetBSD packages
collection as math/gap.
GAP (Groups, Algorithms and Programs) is a free system for computational
discrete algebra. Its capabilities include computation involving
cyclotomic and finite fields, residue class rings, p-adic numbers,
multivariate polynomials and rational functions, vectors, matrices
and finite groups.
GAP can be copied and distributed freely for any non-commercial purpose.
Diffstat (limited to 'math/gap/Makefile')
-rw-r--r-- | math/gap/Makefile | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/math/gap/Makefile b/math/gap/Makefile new file mode 100644 index 00000000000..131cc802061 --- /dev/null +++ b/math/gap/Makefile @@ -0,0 +1,51 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/08/21 08:04:03 cjep Exp $ +# + +DISTNAME= gap4r3 +PKGNAME= gap-4.3 +CATEGORIES= math +MASTER_SITES= ftp://ftp-gap.dcs.st-and.ac.uk/pub/gap/gap4/ \ + ftp://ftp.math.rwth-aachen.de/pub/gap4/ \ + ftp://pell.anu.edu.au/pub/algebra/gap4/ \ + ftp://ftp.ccs.neu.edu/pub/mirrors/ftp-gap.dcs.st-and.ac.uk/pub/gap/gap4/ +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ + fix4r3n1.tar.gz + +MAINTAINER= cjep@netbsd.org +HOMEPAGE= http://www.gap-system.org/ +COMMENT= Computational group theory and discrete algebra language + +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} +SITES_fix4r3n1.tar.gz= ${MASTER_SITES:=bugfixes/} + +LICENSE= no-commercial-use + +GNU_CONFIGURE= yes +CONFIGURE_ENV+= PREFIX=${PREFIX} PKGVERSION=${PKGVERSION} +ALL_TARGET= default + +GAP_DIRECTORY= ${PREFIX}/lib/gap${PKGVERSION} +GAP_PLATFORM= ${MACHINE_GNU_PLATFORM}-cc + +post-extract: + ( cd ${WRKSRC} && ${GTAR} zxf ${DISTDIR}/fix4r3n1.tar.gz ) + +do-install: + ${INSTALL_PROGRAM_DIR} ${GAP_DIRECTORY} + ${INSTALL_PROGRAM_DIR} ${GAP_DIRECTORY}/bin + ${INSTALL_PROGRAM_DIR} ${GAP_DIRECTORY}/bin/${GAP_PLATFORM} + ${INSTALL_PROGRAM} ${WRKSRC}/bin/${GAP_PLATFORM}/gap \ + ${GAP_DIRECTORY}/bin/${GAP_PLATFORM} + ${INSTALL_SCRIPT} ${WRKSRC}/bin/${GAP_PLATFORM}/gac \ + ${GAP_DIRECTORY}/bin/${GAP_PLATFORM} + ${INSTALL_SCRIPT} ${WRKSRC}/bin/gap.sh \ + ${PREFIX}/bin/gap${PKGVERSION} + ${LN} -sf ${PREFIX}/bin/gap${PKGVERSION} ${PREFIX}/bin/gap + ${INSTALL_DATA} ${WRKSRC}/sysinfo.gap \ + ${GAP_DIRECTORY} + + for I in doc etc grp lib pkg small tst; do \ + ${CP} -R ${WRKSRC}/$$I ${GAP_DIRECTORY}; \ + done + +.include "../../mk/bsd.pkg.mk" |