summaryrefslogtreecommitdiff
path: root/math
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
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')
-rw-r--r--math/xgap/DESCR10
-rw-r--r--math/xgap/Makefile42
-rw-r--r--math/xgap/PLIST93
-rw-r--r--math/xgap/distinfo5
-rw-r--r--math/xgap/patches/patch-aa22
5 files changed, 172 insertions, 0 deletions
diff --git a/math/xgap/DESCR b/math/xgap/DESCR
new file mode 100644
index 00000000000..fda3dc1b14f
--- /dev/null
+++ b/math/xgap/DESCR
@@ -0,0 +1,10 @@
+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.
+
+At the moment the only supported window system is X-Windows X11R5,
+however, programs using the XGAP library functions will run on other
+platforms as soon as XGAP is available on these.
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"
diff --git a/math/xgap/PLIST b/math/xgap/PLIST
new file mode 100644
index 00000000000..1791cb36e1d
--- /dev/null
+++ b/math/xgap/PLIST
@@ -0,0 +1,93 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/12/22 19:26:57 cjep Exp $
+lib/gap4.3/pkg/xgap/bin/i386--netbsdelf-cc/xgap
+lib/gap4.3/pkg/xgap/doc/answers.tex
+lib/gap4.3/pkg/xgap/doc/diffgap3.tex
+lib/gap4.3/pkg/xgap/doc/gobject.tex
+lib/gap4.3/pkg/xgap/doc/graphs.tex
+lib/gap4.3/pkg/xgap/doc/install.tex
+lib/gap4.3/pkg/xgap/doc/manual.tex
+lib/gap4.3/pkg/xgap/doc/posetops.tex
+lib/gap4.3/pkg/xgap/doc/savetime.tex
+lib/gap4.3/pkg/xgap/doc/sglatsys.tex
+lib/gap4.3/pkg/xgap/doc/sgrplats.tex
+lib/gap4.3/pkg/xgap/doc/usercomm.tex
+lib/gap4.3/pkg/xgap/doc/whatis.tex
+lib/gap4.3/pkg/xgap/doc/gobject.msk
+lib/gap4.3/pkg/xgap/doc/posetops.msk
+lib/gap4.3/pkg/xgap/doc/usercomm.msk
+lib/gap4.3/pkg/xgap/doc/xgap.msk
+lib/gap4.3/pkg/xgap/doc/buildman.config
+lib/gap4.3/pkg/xgap/doc/Makefile
+lib/gap4.3/pkg/xgap/doc/manual.six
+lib/gap4.3/pkg/xgap/doc/manual.bib
+lib/gap4.3/pkg/xgap/doc/manual.mst
+lib/gap4.3/pkg/xgap/doc/manual.dvi
+lib/gap4.3/pkg/xgap/doc/manual.pdf
+lib/gap4.3/pkg/xgap/examples/cavicchi.g
+lib/gap4.3/pkg/xgap/examples/cryst.g
+lib/gap4.3/pkg/xgap/examples/dihedral.g
+lib/gap4.3/pkg/xgap/examples/fpgroup.g
+lib/gap4.3/pkg/xgap/examples/matrix.g
+lib/gap4.3/pkg/xgap/examples/puzzle.g
+lib/gap4.3/pkg/xgap/examples/sym6.g
+lib/gap4.3/pkg/xgap/examples/trefoil.g
+lib/gap4.3/pkg/xgap/htm/biblio.htm
+lib/gap4.3/pkg/xgap/htm/CHAP001.htm
+lib/gap4.3/pkg/xgap/htm/CHAP002.htm
+lib/gap4.3/pkg/xgap/htm/CHAP003.htm
+lib/gap4.3/pkg/xgap/htm/CHAP004.htm
+lib/gap4.3/pkg/xgap/htm/CHAP005.htm
+lib/gap4.3/pkg/xgap/htm/CHAP006.htm
+lib/gap4.3/pkg/xgap/htm/CHAP007.htm
+lib/gap4.3/pkg/xgap/htm/CHAP008.htm
+lib/gap4.3/pkg/xgap/htm/CHAP009.htm
+lib/gap4.3/pkg/xgap/htm/CHAP010.htm
+lib/gap4.3/pkg/xgap/htm/chapters.htm
+lib/gap4.3/pkg/xgap/htm/indxA.htm
+lib/gap4.3/pkg/xgap/htm/indxB.htm
+lib/gap4.3/pkg/xgap/htm/indxC.htm
+lib/gap4.3/pkg/xgap/htm/indxD.htm
+lib/gap4.3/pkg/xgap/htm/indxE.htm
+lib/gap4.3/pkg/xgap/htm/indxF.htm
+lib/gap4.3/pkg/xgap/htm/indxG.htm
+lib/gap4.3/pkg/xgap/htm/indxH.htm
+lib/gap4.3/pkg/xgap/htm/indxI.htm
+lib/gap4.3/pkg/xgap/htm/indxL.htm
+lib/gap4.3/pkg/xgap/htm/indxM.htm
+lib/gap4.3/pkg/xgap/htm/indxN.htm
+lib/gap4.3/pkg/xgap/htm/indxO.htm
+lib/gap4.3/pkg/xgap/htm/indxP.htm
+lib/gap4.3/pkg/xgap/htm/indxQ.htm
+lib/gap4.3/pkg/xgap/htm/indxR.htm
+lib/gap4.3/pkg/xgap/htm/indxS.htm
+lib/gap4.3/pkg/xgap/htm/indxT.htm
+lib/gap4.3/pkg/xgap/htm/indxU.htm
+lib/gap4.3/pkg/xgap/htm/indxV.htm
+lib/gap4.3/pkg/xgap/htm/indxW.htm
+lib/gap4.3/pkg/xgap/htm/theindex.htm
+lib/gap4.3/pkg/xgap/init.g
+lib/gap4.3/pkg/xgap/lib/read1.g
+lib/gap4.3/pkg/xgap/lib/window.g
+lib/gap4.3/pkg/xgap/lib/color.gi
+lib/gap4.3/pkg/xgap/lib/font.gi
+lib/gap4.3/pkg/xgap/lib/gobject.gi
+lib/gap4.3/pkg/xgap/lib/ilatgrp.gi
+lib/gap4.3/pkg/xgap/lib/meataxe.gi
+lib/gap4.3/pkg/xgap/lib/menu.gi
+lib/gap4.3/pkg/xgap/lib/poset.gi
+lib/gap4.3/pkg/xgap/lib/sheet.gi
+lib/gap4.3/pkg/xgap/lib/color.gd
+lib/gap4.3/pkg/xgap/lib/font.gd
+lib/gap4.3/pkg/xgap/lib/gobject.gd
+lib/gap4.3/pkg/xgap/lib/ilatgrp.gd
+lib/gap4.3/pkg/xgap/lib/meataxe.gd
+lib/gap4.3/pkg/xgap/lib/menu.gd
+lib/gap4.3/pkg/xgap/lib/poset.gd
+lib/gap4.3/pkg/xgap/lib/sheet.gd
+@dirrm lib/gap4.3/pkg/xgap/lib
+@dirrm lib/gap4.3/pkg/xgap/htm
+@dirrm lib/gap4.3/pkg/xgap/examples
+@dirrm lib/gap4.3/pkg/xgap/doc
+@dirrm lib/gap4.3/pkg/xgap/bin/${MACHINE_GNU_PLATFORM}-cc
+@dirrm lib/gap4.3/pkg/xgap/bin
+@dirrm lib/gap4.3/pkg/xgap
diff --git a/math/xgap/distinfo b/math/xgap/distinfo
new file mode 100644
index 00000000000..4ced385d1e7
--- /dev/null
+++ b/math/xgap/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/12/22 19:26:57 cjep Exp $
+
+SHA1 (xgap4r16.zoo) = 4d8b51eaf54ce9eb1d54f75928be1e595b53c1b9
+Size (xgap4r16.zoo) = 731219 bytes
+SHA1 (patch-aa) = 5c2e5d88ab6d3b6fae6a8341ca2eb7cac03cbc30
diff --git a/math/xgap/patches/patch-aa b/math/xgap/patches/patch-aa
new file mode 100644
index 00000000000..cabcf276ba6
--- /dev/null
+++ b/math/xgap/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/12/22 19:26:57 cjep Exp $
+
+--- configure.orig Sat Mar 17 08:38:40 2001
++++ configure
+@@ -595,7 +595,7 @@ if test -z "$MAKE"; then
+ fi
+
+ ac_aux_dir=
+-for ac_dir in ../../cnf $srcdir/../../cnf; do
++for ac_dir in ${GAP_DIRECTORY}/cnf $srcdir/../../cnf; do
+ if test -f $ac_dir/install-sh; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install-sh -c"
+@@ -900,7 +900,7 @@ else
+ fi
+
+
+-gapdir=`(cd ../..;pwd)`
++gapdir=${GAP_DIRECTORY}
+ trap '' 1 2 15
+ cat > confcache <<\EOF
+ # This file is a shell script that caches the results of configure