aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2014-05-28 16:41:42 +0800
committerjohans <johans@FreeBSD.org>2014-05-28 16:41:42 +0800
commit332e995c90413ce122c182ac831ddd69904ca1cc (patch)
treeee8d426cff147432d1a312c5420a094d68ea6e3e /math
parentdfd195d3abae366d0d4c1731b82c484c4c44e38e (diff)
downloadfreebsd-ports-gnome-332e995c90413ce122c182ac831ddd69904ca1cc.tar.gz
freebsd-ports-gnome-332e995c90413ce122c182ac831ddd69904ca1cc.tar.zst
freebsd-ports-gnome-332e995c90413ce122c182ac831ddd69904ca1cc.zip
Update to GAP 4.7.5
Diffstat (limited to 'math')
-rw-r--r--math/gap/Makefile21
-rw-r--r--math/gap/distinfo4
2 files changed, 13 insertions, 12 deletions
diff --git a/math/gap/Makefile b/math/gap/Makefile
index c2a4ee49750e..4c6a4e9decb6 100644
--- a/math/gap/Makefile
+++ b/math/gap/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= gap
-PORTVERSION= 4.7.4.${GAP_DISTDATE}
+PORTVERSION= 4.7.5.${GAP_DISTDATE}
CATEGORIES= math
MASTER_SITES= ftp://ftp.gap-system.org/pub/gap/gap47/tar.bz2/ \
ftp://ftp.stack.nl/pub/users/johans/gap/ \
@@ -14,8 +14,7 @@ COMMENT= GAP is a system for computational discrete algebra
LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
-USE_BZIP2= yes
-USES= gmake
+USES= gmake tar:bzip2
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-gmp=${LOCALBASE}
ALL_TARGET= default
@@ -23,21 +22,23 @@ ALL_TARGET= default
MAKE_JOBS_UNSAFE=yes
GAP_VERSION= ${PORTNAME}${PORTVERSION:R:R:S/./r/} # gap4r5
-GAP_DISTTIME= 2014_02_20-01_21
+GAP_DISTTIME= 2014_05_24-20_02
GAP_DISTDATE= ${GAP_DISTTIME:C/-.*//:S/_//g}
GAP_LIBDIR= ${PREFIX}/lib/${GAP_VERSION}
WRKSRC= ${WRKDIR}/${GAP_VERSION}
PLIST_FILES= bin/gap
do-install:
- (${SED} -e "s:GAP_DIR=.*:GAP_DIR=${GAP_LIBDIR}:g" -e "s:GAP_PRG=.*:GAP_PRG=gap:g" ${WRKSRC}/bin/gap.sh > ${STAGEDIR}${PREFIX}/bin/gap; \
- ${CHMOD} 755 ${STAGEDIR}${PREFIX}/bin/gap; )
+ ${SED} -e "s:GAP_DIR=.*:GAP_DIR=${GAP_LIBDIR}:g" \
+ -e "s:GAP_PRG=.*:GAP_PRG=gap:g" ${WRKSRC}/bin/gap.sh \
+ > ${STAGEDIR}${PREFIX}/bin/gap
+ @${CHMOD} 755 ${STAGEDIR}${PREFIX}/bin/gap
@${MKDIR} ${STAGEDIR}${GAP_LIBDIR}/bin
- @${INSTALL_PROGRAM} ${WRKSRC}/bin/*/gap ${STAGEDIR}${GAP_LIBDIR}/bin
- @${INSTALL_SCRIPT} ${WRKSRC}/bin/*/gac ${STAGEDIR}${GAP_LIBDIR}/bin
- @${INSTALL_DATA} ${WRKSRC}/sysinfo.gap ${STAGEDIR}${GAP_LIBDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/*/gap ${STAGEDIR}${GAP_LIBDIR}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/*/gac ${STAGEDIR}${GAP_LIBDIR}/bin
+ ${INSTALL_DATA} ${WRKSRC}/sysinfo.gap ${STAGEDIR}${GAP_LIBDIR}
.for subdir in doc etc grp lib pkg prim small trans tst
- @${CP} -R ${WRKSRC}/${subdir} ${STAGEDIR}${GAP_LIBDIR}/
+ ${CP} -R ${WRKSRC}/${subdir} ${STAGEDIR}${GAP_LIBDIR}/
.endfor
post-install:
diff --git a/math/gap/distinfo b/math/gap/distinfo
index 26de43785560..7174324ea09d 100644
--- a/math/gap/distinfo
+++ b/math/gap/distinfo
@@ -1,2 +1,2 @@
-SHA256 (gap4r7p4_2014_02_20-01_21.tar.bz2) = 5d81b628f657968a1abc2fb9073fbddeb9b5d5787686227be0cacf6b86642176
-SIZE (gap4r7p4_2014_02_20-01_21.tar.bz2) = 225386468
+SHA256 (gap4r7p5_2014_05_24-20_02.tar.bz2) = 464eeb83380bb2f9b86b7a51289cb9a056879a5a037091d49b7fd4ecde5bb36b
+SIZE (gap4r7p5_2014_05_24-20_02.tar.bz2) = 227570075