aboutsummaryrefslogtreecommitdiff
path: root/math/mprime
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2004-02-26 23:39:27 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2004-02-26 23:39:27 +0000
commit3c2287b2c5331f2a819c7a3996c8a1a82553958c (patch)
treed3c7a0a177db1e37aacc49754b9fab0ac11eea73 /math/mprime
parent4387b77265263c4be3498d72f5eece693e3d5a0f (diff)
downloadports-3c2287b2c5331f2a819c7a3996c8a1a82553958c.tar.gz
ports-3c2287b2c5331f2a819c7a3996c8a1a82553958c.zip
Notes
Diffstat (limited to 'math/mprime')
-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