summaryrefslogtreecommitdiff
path: root/math/gp-grape/Makefile
diff options
context:
space:
mode:
authorcjep <cjep>2002-08-21 08:09:56 +0000
committercjep <cjep>2002-08-21 08:09:56 +0000
commit19565501f50c347b80b159a2d3a356fe59268a03 (patch)
treea99c49b8e4963e853f32ad69a60305eedfaedf12 /math/gp-grape/Makefile
parent75e2dbe95275a2296e577f89a618fa6d6047aeed (diff)
downloadpkgsrc-19565501f50c347b80b159a2d3a356fe59268a03.tar.gz
Initial import of GRAPE 4r1 into the NetBSD packages collection as
math/gp-grape. GRAPE is a GAP package for mathematical computation with graphs and groups. It was written by Leonard H. Soicher of Queen Mary, University of London.
Diffstat (limited to 'math/gp-grape/Makefile')
-rw-r--r--math/gp-grape/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/math/gp-grape/Makefile b/math/gp-grape/Makefile
new file mode 100644
index 00000000000..f1532512273
--- /dev/null
+++ b/math/gp-grape/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/08/21 08:09:56 cjep Exp $
+#
+
+DISTNAME= grape4r1
+PKGNAME= gp-grape-4.1
+CATEGORIES= math
+MASTER_SITES= http://www.maths.qmul.ac.uk/~leonard/grape4r1/
+EXTRACT_SUFX= .zoo
+
+MAINTAINER= cjep@netbsd.org
+HOMEPAGE= http://www.gap-system.org/Share/grape.html
+COMMENT= GRAPE (GRape Algorithms using PErmutation groups)
+
+BUILD_DEPENDS+= zoo:../../archivers/zoo
+
+EXTRACT_CMD= ${LOCALBASE}/bin/zoo -extract ${DOWNLOADED_DISTFILE}
+WRKSRC= ${WRKDIR}/${GAP_PKG_NAME}
+
+ALL_TARGET= bsd-gcc
+
+GAP_PKG_NAME= grape
+
+do-configure:
+ (cd ${WRKSRC} && ${SH} configure ${GAP_DIRECTORY} )
+
+do-install:
+ ${INSTALL_PROGRAM_DIR} ${GAP_PKG_DIRECTORY}
+ @for I in COPYING bin doc grh htm init.g lib nauty20/read.me \
+ prs; do \
+ ${CP} -R ${WRKSRC}/$$I ${GAP_PKG_DIRECTORY}; \
+ done
+
+.include "../../math/gap/gap.package.mk"
+.include "../../mk/bsd.pkg.mk"