aboutsummaryrefslogtreecommitdiffstats
path: root/math/gap/Makefile
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2006-05-26 21:34:12 +0800
committerjohans <johans@FreeBSD.org>2006-05-26 21:34:12 +0800
commitd73f1947e38c167543156d101bcd3fa24aa82318 (patch)
tree76eb4cf403af9bce72bd644f5d5f4c2eb295e80e /math/gap/Makefile
parent9475a17f1abb26c5a3db212d4181ffd78ded2eeb (diff)
downloadfreebsd-ports-gnome-d73f1947e38c167543156d101bcd3fa24aa82318.tar.gz
freebsd-ports-gnome-d73f1947e38c167543156d101bcd3fa24aa82318.tar.zst
freebsd-ports-gnome-d73f1947e38c167543156d101bcd3fa24aa82318.zip
- Update packages to new version
- Pre-compile another included package (suggested by Jan Willem Knopper) - Fix honouring $CC variable (reminded by flz) Approved by: flz (mentor)
Diffstat (limited to 'math/gap/Makefile')
-rw-r--r--math/gap/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/math/gap/Makefile b/math/gap/Makefile
index ff59a40a3f83..8230563797b8 100644
--- a/math/gap/Makefile
+++ b/math/gap/Makefile
@@ -26,6 +26,7 @@ OPTIONS= COMPRESSED_TOMLIB "Compress tomlib files" On \
EXAMPLE "Build binaries for example" Off \
GRAPE "Build binaries for grape" Off \
KBMAG "Build binaries for kbmag" Off \
+ OPENMATH "Build binaries for openmath" Off \
PARGAP "Build binaries for pargap" Off \
XGAP "Build binaries for xgap" Off
@@ -34,7 +35,7 @@ OPTIONS= COMPRESSED_TOMLIB "Compress tomlib files" On \
.include <bsd.port.pre.mk>
GAP_VERSION= gap4r4
-GAP_PKGTIME= 2006_03_30-15_12_UTC
+GAP_PKGTIME= 2006_05_11-20_30_UTC
GAP_PKGDATE= ${GAP_PKGTIME:C/-.*//:S/_//g}
GAP_WRKSRC= ${WRKSRC}/${GAP_VERSION}
GAP_LIBDIR= ${PREFIX}/lib/${GAP_VERSION}
@@ -49,7 +50,7 @@ do-extract:
${TAR} xyf ${DISTDIR}/${DIST_SUBDIR}/packages-${GAP_PKGTIME}.tar.bz2 )
post-patch:
- @${REINPLACE_CMD} -e "s|CC=\'.(CC)\' ||g" ${GAP_WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e "/^CC=/d" ${GAP_WRKSRC}/Makefile.in
do-configure:
(cd ${GAP_WRKSRC}; ./configure)
@@ -79,6 +80,9 @@ post-build:
.if defined(WITH_KBMAG)
(cd ${GAP_WRKSRC}/pkg/kbmag; ./configure ../..; make )
.endif
+.if defined(WITH_OPENMATH)
+ (cd ${GAP_WRKSRC}/pkg/openmath/OMCv1.3c/src/; ./configure; make; cd ../..; ./configure ../../; make )
+.endif
.if defined(WITH_PARGAP)
(cd ${GAP_WRKSRC}/pkg/pargap; ./configure ../..; make )
.endif