summaryrefslogtreecommitdiff
path: root/math/xgap/Makefile
diff options
context:
space:
mode:
authorcjep <cjep@pkgsrc.org>2002-12-22 19:26:57 +0000
committercjep <cjep@pkgsrc.org>2002-12-22 19:26:57 +0000
commitf1ab891133e7bbfe31cc69af98532edc4461475d (patch)
treea1d138a6fd57472f1a07a0d8b16173bc096c1efc /math/xgap/Makefile
parent191bdf0218a6bf69d2a54785d3aeb4c17ab28173 (diff)
downloadpkgsrc-f1ab891133e7bbfe31cc69af98532edc4461475d.tar.gz
Initial import of XGAP 4.16 into the NetBSD packages collection as
math/xgap. XGAP is a graphical user interface for GAP, it extends the GAP library with functions dealing with graphic sheets and objects. Using these functions it also supplies a graphical interface for investigating the subgroup lattice of a group, giving you easy access to the low index subgroups, prime quotient and Reidemeister-Schreier algorithms and many other GAP functions for groups and subgroups.
Diffstat (limited to 'math/xgap/Makefile')
-rw-r--r--math/xgap/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/math/xgap/Makefile b/math/xgap/Makefile
new file mode 100644
index 00000000000..c957aa33968
--- /dev/null
+++ b/math/xgap/Makefile
@@ -0,0 +1,42 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/12/22 19:26:57 cjep Exp $
+#
+
+DISTNAME= xgap4r16
+PKGNAME= xgap-4.16
+CATEGORIES= math x11
+MASTER_SITES= ftp://ftp-gap.dcs.st-and.ac.uk/pub/gap/gap4/share/
+DISTFILES= ${DISTNAME}.zoo \
+
+MAINTAINER= cjep@netbsd.org
+HOMEPAGE= http://www.gap-system.org/Share/xgap.html
+COMMENT= GUI for GAP
+
+BUILD_DEPENDS+= zoo:../../archivers/zoo
+
+USE_BUILDLINK2= YES
+USE_X11= YES
+GNU_CONFIGURE= YES
+ALL_TARGET= default
+
+EXTRACT_CMD= ${LOCALBASE}/bin/zoo -extract ${DOWNLOADED_DISTFILE}
+WRKSRC= ${WRKDIR}/${GAP_PKG_NAME}
+CONFIGURE_ENV+= GAP_DIRECTORY=${GAP_DIRECTORY}
+
+GAP_PKG_NAME= xgap
+
+post-buildlink:
+ (cd ${WRKDIR} && ${LN} -s ${GAP_DIRECTORY}/cnf cnf)
+
+do-install:
+ ${INSTALL_PROGRAM_DIR} ${GAP_PKG_DIRECTORY}/bin/${GAP_PLATFORM}
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/${GAP_PLATFORM}/xgap \
+ ${GAP_PKG_DIRECTORY}/bin/${GAP_PLATFORM}
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/xgap.sh \
+ ${PREFIX}/bin/xgap
+ ${INSTALL_DATA} ${WRKSRC}/init.g ${GAP_PKG_DIRECTORY}
+ for I in doc examples htm lib; do \
+ cd ${WRKSRC} && ${PAX} -rw $$I ${GAP_PKG_DIRECTORY}; \
+ done
+
+.include "../../math/gap/gap.package.mk"
+.include "../../mk/bsd.pkg.mk"