aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2006-04-07 22:04:18 +0800
committerjohans <johans@FreeBSD.org>2006-04-07 22:04:18 +0800
commitd3ab576dfd56c0a266c7a0152bb38fdd27fe67a8 (patch)
treebfe86c784b97aebdc2be85f82e75c2462ec997de /math
parentf5467897cb8ad259f1aa4ce33370a54a31365e7c (diff)
downloadfreebsd-ports-gnome-d3ab576dfd56c0a266c7a0152bb38fdd27fe67a8.tar.gz
freebsd-ports-gnome-d3ab576dfd56c0a266c7a0152bb38fdd27fe67a8.tar.zst
freebsd-ports-gnome-d3ab576dfd56c0a266c7a0152bb38fdd27fe67a8.zip
- Update to latest contrib. packages
- Build more of the contrib. packages on install Approved by: flz (mentor)
Diffstat (limited to 'math')
-rw-r--r--math/gap/Makefile43
-rw-r--r--math/gap/distinfo6
2 files changed, 45 insertions, 4 deletions
diff --git a/math/gap/Makefile b/math/gap/Makefile
index 24f895cd8658..ff59a40a3f83 100644
--- a/math/gap/Makefile
+++ b/math/gap/Makefile
@@ -19,10 +19,22 @@ DIST_SUBDIR= gap
MAINTAINER= johans@stack.nl
COMMENT= GAP is a system for computational discrete algebra
+OPTIONS= COMPRESSED_TOMLIB "Compress tomlib files" On \
+ ACE "Build binaries for ace" Off \
+ COHOMOLO "Build binaries for cohomolo" Off \
+ EDIM "Build binaries for edim" Off \
+ EXAMPLE "Build binaries for example" Off \
+ GRAPE "Build binaries for grape" Off \
+ KBMAG "Build binaries for kbmag" Off \
+ PARGAP "Build binaries for pargap" Off \
+ XGAP "Build binaries for xgap" Off
+
+#todo anupq fplsa/guava/nq (malloc.h build error) qaos
+
.include <bsd.port.pre.mk>
GAP_VERSION= gap4r4
-GAP_PKGTIME= 2006_03_07-23_10_UTC
+GAP_PKGTIME= 2006_03_30-15_12_UTC
GAP_PKGDATE= ${GAP_PKGTIME:C/-.*//:S/_//g}
GAP_WRKSRC= ${WRKSRC}/${GAP_VERSION}
GAP_LIBDIR= ${PREFIX}/lib/${GAP_VERSION}
@@ -45,6 +57,35 @@ do-configure:
do-build:
(cd ${GAP_WRKSRC}; make COPTS="${CFLAGS}")
+post-build:
+.if defined(WITH_COMPRESSED_TOMLIB)
+ (cd ${GAP_WRKSRC}/pkg/tomlib/data; ${SH} -c 'for i in *; do ${GZIP_CMD} $${i};done' )
+.endif
+.if defined(WITH_ACE)
+ (cd ${GAP_WRKSRC}/pkg/ace; ./configure ../..; make )
+.endif
+.if defined(WITH_COHOMOLO)
+ (cd ${GAP_WRKSRC}/pkg/cohomolo; ./configure ../..; make )
+.endif
+.if defined(WITH_EDIM)
+ (cd ${GAP_WRKSRC}/pkg/edim; ./configure ../..; make )
+.endif
+.if defined(WITH_EXAMPLE)
+ (cd ${GAP_WRKSRC}/pkg/example; ./configure ../..; make )
+.endif
+.if defined(WITH_GRAPE)
+ (cd ${GAP_WRKSRC}/pkg/grape; ./configure ../..; make linux-gcc )
+.endif
+.if defined(WITH_KBMAG)
+ (cd ${GAP_WRKSRC}/pkg/kbmag; ./configure ../..; make )
+.endif
+.if defined(WITH_PARGAP)
+ (cd ${GAP_WRKSRC}/pkg/pargap; ./configure ../..; make )
+.endif
+.if defined(WITH_XGAP)
+ (cd ${GAP_WRKSRC}/pkg/xgap; ./configure ; make )
+.endif
+
do-install:
(${SED} -e "s:GAP_DIR=.*:GAP_DIR=${GAP_LIBDIR}:g" -e "s:GAP_PRG=.*:GAP_PRG=gap:g" ${GAP_WRKSRC}/bin/gap.sh > ${PREFIX}/bin/gap; \
${CHMOD} 755 ${PREFIX}/bin/gap; )
diff --git a/math/gap/distinfo b/math/gap/distinfo
index 136e36a22ff7..3bb22fcaec65 100644
--- a/math/gap/distinfo
+++ b/math/gap/distinfo
@@ -1,6 +1,6 @@
-MD5 (gap/packages-2006_03_07-23_10_UTC.tar.bz2) = 05db46cc0744e6403e4ed0801cd635e3
-SHA256 (gap/packages-2006_03_07-23_10_UTC.tar.bz2) = c46460ba39143abe3a4df56324983af3afc38a87ce285201910c0f7a7bf7bbeb
-SIZE (gap/packages-2006_03_07-23_10_UTC.tar.bz2) = 36987438
+MD5 (gap/packages-2006_03_30-15_12_UTC.tar.bz2) = aa7554d2c55596d87510f1681435f2a3
+SHA256 (gap/packages-2006_03_30-15_12_UTC.tar.bz2) = e50b162db303f60e8985c05c18b3673f336a78d07f87c008c8501648d0fd7c0d
+SIZE (gap/packages-2006_03_30-15_12_UTC.tar.bz2) = 37137136
MD5 (gap/gap4r4p7.tar.bz2) = a65aafa26ce42bce68e81d4bc8d25c04
SHA256 (gap/gap4r4p7.tar.bz2) = fb777f2d7f36f8d52dd4fef4dcbff7c87412d18afaef20ae397e278eb23f9b39
SIZE (gap/gap4r4p7.tar.bz2) = 43665564