aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2004-02-27 07:39:27 +0800
committerlioux <lioux@FreeBSD.org>2004-02-27 07:39:27 +0800
commit48356721f7e3d5edd2fa40bf97117d20ee3743b8 (patch)
treeeb039d3b82ab390d0514ddd3cd79c2bc98100182 /math
parent3024be15ce16ecb683d884aa503302970540cc36 (diff)
downloadfreebsd-ports-gnome-48356721f7e3d5edd2fa40bf97117d20ee3743b8.tar.gz
freebsd-ports-gnome-48356721f7e3d5edd2fa40bf97117d20ee3743b8.tar.zst
freebsd-ports-gnome-48356721f7e3d5edd2fa40bf97117d20ee3743b8.zip
o Update to mprime core version 23.5
o Port's Makefile - move some lines from post-patch to do-configure target since they DO configure the port's build
Diffstat (limited to 'math')
-rw-r--r--math/mprime/Makefile19
-rw-r--r--math/mprime/distinfo8
2 files changed, 15 insertions, 12 deletions
diff --git a/math/mprime/Makefile b/math/mprime/Makefile
index 2c73bcbba190..aaa0cb2cbe4c 100644
--- a/math/mprime/Makefile
+++ b/math/mprime/Makefile
@@ -7,7 +7,6 @@
PORTNAME= mprime
PORTVERSION= 0.0.${SOURCE_VERSION}
-PORTREVISION= 1
CATEGORIES= math benchmarks
MASTER_SITES= ftp://mersenne.org/gimps/ \
${MASTER_SITE_LOCAL:S/$/:local/}
@@ -26,14 +25,14 @@ USE_ZIP= yes
USE_BZIP2= yes
USE_GMAKE= yes
USE_SIZE= yes
-WRKSRC= ${WRKDIR}/linux
+WRKSRC= ${WRKDIR}/source/linux
MAKEFILE= makebsd
ALL_TARGET= clean mprime
# source code version
-SOURCE_VERSION= 22.12
+SOURCE_VERSION= 23.5
# document date version
-TEXT_DATE= 2003042900
+TEXT_DATE= 2004022600
post-extract:
@cd ${WRKDIR} && ${LOCALBASE}/bin/unzip -qq \
@@ -44,16 +43,20 @@ post-extract:
post-patch:
@${REINPLACE_CMD} -E \
-e 's| ||' \
- -e 's|^(CC).*$$|\1=${CC}|' \
- -e 's|^(CFLAGS)[[:space:]]*=|\1+=|' \
- -e 's|^(CFLAGS.*)-m486|\1|' \
- -e 's|^(CFLAGS.*)-O2|\1|' \
${WRKSRC}/makebsd
# prepare wrapper
@${SED} \
-e 's|%%PREFIX%%|${PREFIX}|' ${FILESDIR}/wrapper.sh > \
${WRKDIR}/wrapper.sh
+do-configure:
+ @${REINPLACE_CMD} -E \
+ -e 's|^(CC).*$$|\1=${CC}|' \
+ -e 's|^(CFLAGS)[[:space:]]*=|\1+=|' \
+ -e 's|^(CFLAGS.*)-m486|\1|' \
+ -e 's|^(CFLAGS.*)-O2|\1|' \
+ ${WRKSRC}/makebsd
+
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/mprime ${PREFIX}/bin/mprime-real
@${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/mprime
diff --git a/math/mprime/distinfo b/math/mprime/distinfo
index c2946313fd84..bf21dc4a63db 100644
--- a/math/mprime/distinfo
+++ b/math/mprime/distinfo
@@ -1,4 +1,4 @@
-MD5 (mprime/source22.zip) = 4ac3d4fcb6219b4a25968bb17def217e
-SIZE (mprime/source22.zip) = 2332076
-MD5 (mprime/prime95-text-2003042900-22.12.tar.bz2) = 8488a53735577fe0a2b181fe76724ec4
-SIZE (mprime/prime95-text-2003042900-22.12.tar.bz2) = 23200
+MD5 (mprime/source23.zip) = cfa8c2de68ed712acdbb1c9b5df55591
+SIZE (mprime/source23.zip) = 2511263
+MD5 (mprime/prime95-text-2004022600-23.5.tar.bz2) = 040bcd8f9ddf6b726a20753ed9a68d72
+SIZE (mprime/prime95-text-2004022600-23.5.tar.bz2) = 24434