mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Update to GAP 4.7.5
This commit is contained in:
parent
71bd83b41e
commit
67669f1ed5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355597
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user