Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Aug 2006 19:48:15 GMT
From:      Jesse Scott <mathemajikian@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/102112: [UPDATE] mprime version 24.14
Message-ID:  <200608151948.k7FJmFgr090558@www.freebsd.org>
Resent-Message-ID: <200608151950.k7FJoRFF061754@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         102112
>Category:       ports
>Synopsis:       [UPDATE] mprime version 24.14
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 15 19:50:27 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jesse Scott
>Release:        6.1-STABLE
>Organization:
>Environment:
FreeBSD mathemajikian.mersenne 6.1-STABLE FreeBSD 6.1-STABLE #7: Sun Jul 30 12:15:30 BST 2006     mathemajikian@mathemajikian.mersenne:/usr/obj/usr/src/sys/MATHEMAJIKIAN  i386
>Description:
Long overdue update to mprime port. Current version of mprime in ports is 23.5
This update allow for installation of mprime version 24.14   
>How-To-Repeat:
N/A
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	Makefile
#	distinfo
#	files
#	pkg-descr
#	pkg-message
#	pkg-plist
#
echo x - Makefile
sed 's/^X//' >Makefile << 'END-of-Makefile'
X# Date created:				Tue Aug 15 08:33:28 UTC 2006
X# Whom:                 Jesse Scott <mathemajikian@gmail.com>
X#
X# $FreeBSD: /repoman/r/pcvs/ports/math/mprime/Makefile,v 1.9a 2006/09/15 08:33:28 jesse Exp $
X#
X
XPORTNAME=	mprime
XPORTVERSION=	0.0.${SOURCE_VERSION}
XCATEGORIES=	math benchmarks net
XMASTER_SITES=	ftp://mersenne.org/gimps/
XDISTNAME=	sprime${PORTVERSION:S/^0.0.//:S/.//}-freebsd
X
XMAINTAINER=	mathemajikian@gmail.com 	
XCOMMENT=	mersenne.org distributed Great Internet Mersenne Prime Search
X
XONLY_FOR_ARCHS=	i386
XNO_BUILD=	yes
XNO_WRKSUBDIR=	yes
X
X# source code version
XSOURCE_VERSION= 24.14	
X
Xpost-patch:
X# prepare wrapper
X	@${SED} \
X		-e 's|%%PREFIX%%|${PREFIX}|' ${FILESDIR}/wrapper.sh > \
X		${WRKDIR}/wrapper.sh
X
Xdo-install:
X	@${INSTALL_PROGRAM} ${WRKSRC}/mprime ${PREFIX}/bin/mprime-real
X	@${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/mprime
X.ifndef(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}${PKGNAMESUFFIX}
X	@${INSTALL_DATA} ${WRKDIR}/*.txt ${DOCSDIR}${PKGNAMESUFFIX}
X.endif
X
Xpost-install:
X	@${SED} -e 's|/usr/local/|${PREFIX}/|' ${PKGMESSAGE}
X
X.include <bsd.port.mk>
X
END-of-Makefile
echo x - distinfo
sed 's/^X//' >distinfo << 'END-of-distinfo'
XSHA256 (sprime2414-freebsd.tar.gz) = 6589a24133eec65fd574ac3bfdc1b6f89aff337a64464240a7e561e4f8570aaa
XMD5 (sprime2414-freebsd.tar.gz) = 83b4c1e0ac1391bdcc5907b4d5461e3c
END-of-distinfo
echo c - files
mkdir -p files > /dev/null 2>&1
echo x - pkg-descr
sed 's/^X//' >pkg-descr << 'END-of-pkg-descr'
X[ excerpt from developer's www site ]
X
XThis is the mersenne.org's client.
X
XWelcome to the Great Internet Mersenne Prime Search!
X
XTo use this program you must agree to the prize rules at
Xhttp://www.mersenne.org/prize.htm
X
XIn case you ever forget, the URL is http://www.mersenne.org/prime.htm.
XThe author's email address is woltman@alum.mit.edu. For networking
Xquestions, contact Scott Kurowski's technical support team at
Xprimenet@entropia.com.
X
XWWW: http://www.mersenne.org/
END-of-pkg-descr
echo x - pkg-message
sed 's/^X//' >pkg-message << 'END-of-pkg-message'
X	ATTENTION#########ATTENTION:
X
XPlease, make sure that you read
X/usr/local/share/doc/mprime/license.txt
Xand agree to the licensing terms before running this application.
X
XFurthermore, read
X/usr/local/share/doc/mprime/readme.txt
XIt contains important information about both configuring and running
Xmprime.  You will have problems running it if you do not read it.
END-of-pkg-message
echo x - pkg-plist
sed 's/^X//' >pkg-plist << 'END-of-pkg-plist'
Xbin/mprime
Xbin/mprime-real
X%%PORTDOCS%%%%DOCSDIR%%/license.txt
X%%PORTDOCS%%%%DOCSDIR%%/readme.txt
X%%PORTDOCS%%%%DOCSDIR%%/stress.txt
X%%PORTDOCS%%%%DOCSDIR%%/undoc.txt
X%%PORTDOCS%%%%DOCSDIR%%/whatsnew.txt
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608151948.k7FJmFgr090558>