diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2005-05-28 20:31:14 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2005-05-28 20:31:14 +0000 |
commit | fc31dd72098188cad8f3367df8aed06532b7fc64 (patch) | |
tree | 6b3f9b2b361bfbc4c4ee7b738bdbdd93d8701abd /math/mprime | |
parent | efa148414258715fe0eee43a6727f1325bffc0db (diff) | |
download | ports-fc31dd72098188cad8f3367df8aed06532b7fc64.tar.gz ports-fc31dd72098188cad8f3367df8aed06532b7fc64.zip |
Notes
Diffstat (limited to 'math/mprime')
-rw-r--r-- | math/mprime/Makefile | 37 | ||||
-rw-r--r-- | math/mprime/distinfo | 6 |
2 files changed, 6 insertions, 37 deletions
diff --git a/math/mprime/Makefile b/math/mprime/Makefile index c98b2f8a95b4..a40e183830cc 100644 --- a/math/mprime/Makefile +++ b/math/mprime/Makefile @@ -8,54 +8,25 @@ PORTNAME= mprime PORTVERSION= 0.0.${SOURCE_VERSION} CATEGORIES= math benchmarks net -MASTER_SITES= ftp://mersenne.org/gimps/ \ - ${MASTER_SITE_LOCAL:S/$/:local/} -MASTER_SITE_SUBDIR= lioux/:local -DISTFILES= source${PORTVERSION:S/^0.0.//:R}.zip \ - prime95-text-${TEXT_DATE}-${SOURCE_VERSION}.tar.bz2:local -DIST_SUBDIR= ${PORTNAME} -EXTRACT_ONLY= +MASTER_SITES= ftp://mersenne.org/gimps/ +DISTNAME= sprime${PORTVERSION:S/^0.0.//:S/.//}-freebsd MAINTAINER= lioux@FreeBSD.org COMMENT= mersenne.org distributed Great Internet Mersenne Prime Search ONLY_FOR_ARCHS= i386 -USE_REINPLACE= yes -USE_ZIP= yes -USE_BZIP2= yes -USE_GMAKE= yes -WRKSRC= ${WRKDIR}/source/linux -MAKEFILE= makebsd -ALL_TARGET= clean mprime +NO_BUILD= yes +NO_WRKSUBDIR= yes # source code version SOURCE_VERSION= 23.5 -# document date version -TEXT_DATE= 2004022600 - -post-extract: - @cd ${WRKDIR} && ${LOCALBASE}/bin/unzip -qq \ - ${DISTDIR}/${DIST_SUBDIR}/source${PORTVERSION:S/^0.0.//:R}.zip - @cd ${WRKDIR} && ${TAR} -xjf \ - ${DISTDIR}/${DIST_SUBDIR}/prime95-text-${TEXT_DATE}-${SOURCE_VERSION}.tar.bz2 post-patch: - @${REINPLACE_CMD} -E \ - -e 's|
||' \ - ${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 cf80de39d72e..5f9bfb48c733 100644 --- a/math/mprime/distinfo +++ b/math/mprime/distinfo @@ -1,4 +1,2 @@ -MD5 (mprime/source23.zip) = eb5867e5360a41dd74ea1d4b54ba912a -SIZE (mprime/source23.zip) = 2505867 -MD5 (mprime/prime95-text-2004022600-23.5.tar.bz2) = 040bcd8f9ddf6b726a20753ed9a68d72 -SIZE (mprime/prime95-text-2004022600-23.5.tar.bz2) = 24434 +MD5 (sprime235-freebsd.tar.gz) = 42af9006e4b940c5294d89db4cb8f395 +SIZE (sprime235-freebsd.tar.gz) = 494718 |