Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Mar 2017 05:18:31 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r437181 - in head: . math math/mprime
Message-ID:  <201703290518.v2T5IVer086225@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Wed Mar 29 05:18:30 2017
New Revision: 437181
URL: https://svnweb.freebsd.org/changeset/ports/437181

Log:
  - Resurrect `math/mprime' and unbreak (stagify)
  - Update to version 26.6, the latest for the i386 binary
  - Do not mangle version with `0.0.'-prefix, use official one
  - Add missing LIB_DEPENDS against `misc/compat9x'
  - Define DOCS option and use target helper target to install
  - Make installation commands vocal (unmute them)
  - Update and tidy up port description text while here
  - Drop deprecated @dirrm entry from pkg-plist
  
  TIMESTAMP (mprime266-FreeBSD.tar.gz) = 1302303090

Added:
  head/math/mprime/
     - copied from r366958, head/math/mprime/
Modified:
  head/MOVED
  head/math/Makefile
  head/math/mprime/Makefile
  head/math/mprime/distinfo
  head/math/mprime/pkg-descr
  head/math/mprime/pkg-plist

Modified: head/MOVED
==============================================================================
--- head/MOVED	Wed Mar 29 02:45:49 2017	(r437180)
+++ head/MOVED	Wed Mar 29 05:18:30 2017	(r437181)
@@ -6661,7 +6661,6 @@ math/jsmath-fonts-sprite||2014-09-01|Not
 math/jsmath||2014-09-01|Not staged
 math/kash3||2014-09-01|Not staged
 math/matrix||2014-09-01|Not staged
-math/mprime||2014-09-01|Not staged
 math/petsc||2014-09-01|Not staged
 math/sdpa-gmp||2014-09-01|Not staged
 math/sedumi||2014-09-01|Not staged

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Wed Mar 29 02:45:49 2017	(r437180)
+++ head/math/Makefile	Wed Mar 29 05:18:30 2017	(r437181)
@@ -286,6 +286,7 @@
     SUBDIR += mpexpr
     SUBDIR += mpfr
     SUBDIR += mpir
+    SUBDIR += mprime
     SUBDIR += msieve
     SUBDIR += mtl
     SUBDIR += mtrxmath

Modified: head/math/mprime/Makefile
==============================================================================
--- head/math/mprime/Makefile	Mon Sep  1 21:24:52 2014	(r366958)
+++ head/math/mprime/Makefile	Wed Mar 29 05:18:30 2017	(r437181)
@@ -2,35 +2,30 @@
 # $FreeBSD$
 
 PORTNAME=	mprime
-PORTVERSION=	0.0.${SOURCE_VERSION}
+PORTVERSION=	26.6
 CATEGORIES=	math benchmarks net
-MASTER_SITES=	ftp://mersenne.org/gimps/
-DISTNAME=	sprime${PORTVERSION:S/^0.0.//:S/.//}-freebsd
+MASTER_SITES=	http://www.mersenne.org/ftp_root/gimps/
+DISTNAME=	${PORTNAME}${PORTVERSION:S/.//}-${OPSYS}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	mersenne.org distributed Great Internet Mersenne Prime Search
 
+LIB_DEPENDS=	libcrypto.so.6:misc/compat9x
+
 ONLY_FOR_ARCHS=	i386
 NO_BUILD=	yes
 NO_WRKSUBDIR=	yes
 
 SUB_FILES=	pkg-message wrapper.sh
 
-# source code version
-SOURCE_VERSION=	24.14
+OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/mprime ${PREFIX}/bin/mprime-real
-	@${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/mprime
-.ifndef(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}${PKGNAMESUFFIX}
-	@${INSTALL_DATA} ${WRKDIR}/*.txt ${DOCSDIR}${PKGNAMESUFFIX}
-.endif
-
-post-install:
-.if !defined(NOPORTDOCS)
-	@${CAT} ${PKGMESSAGE}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/mprime ${STAGEDIR}${PREFIX}/bin/mprime-real
+	${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${STAGEDIR}${PREFIX}/bin/mprime
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/math/mprime/distinfo
==============================================================================
--- head/math/mprime/distinfo	Mon Sep  1 21:24:52 2014	(r366958)
+++ head/math/mprime/distinfo	Wed Mar 29 05:18:30 2017	(r437181)
@@ -1,2 +1,3 @@
-SHA256 (sprime2414-freebsd.tar.gz) = 6589a24133eec65fd574ac3bfdc1b6f89aff337a64464240a7e561e4f8570aaa
-SIZE (sprime2414-freebsd.tar.gz) = 873438
+TIMESTAMP = 1302303090
+SHA256 (mprime266-FreeBSD.tar.gz) = d4c2c044cfa45311dd7f2c41574f59a0519c989fd6e0ca723505dea12b2ff1fd
+SIZE (mprime266-FreeBSD.tar.gz) = 4233056

Modified: head/math/mprime/pkg-descr
==============================================================================
--- head/math/mprime/pkg-descr	Mon Sep  1 21:24:52 2014	(r366958)
+++ head/math/mprime/pkg-descr	Wed Mar 29 05:18:30 2017	(r437181)
@@ -1,15 +1,12 @@
-[ excerpt from developer's www site ]
+This program is used to find Mersenne Prime numbers as part of Great
+Internet Mersenne Prime Search initiative (GIMPS) since 1996.  See
+http://www.utm.edu/research/primes/mersenne.shtml for a description
+of Mersenne primes.
 
-This is the mersenne.org's client.
+Mersenne number can be proved composite (not prime) by either finding
+a factor or by running a Lucas-Lehmer primality test.
 
-Welcome to the Great Internet Mersenne Prime Search!
-
-To use this program you must agree to the prize rules at
-http://www.mersenne.org/prize.htm
-
-In case you ever forget, the URL is http://www.mersenne.org/prime.htm.
-The author's email address is woltman@alum.mit.edu. For networking
-questions, contact Scott Kurowski's technical support team at
-primenet@entropia.com.
+To use this program you must agree to the terms and conditions, prize
+rules, etc. at http://mersenne.org/legal/.
 
 WWW: http://www.mersenne.org/

Modified: head/math/mprime/pkg-plist
==============================================================================
--- head/math/mprime/pkg-plist	Mon Sep  1 21:24:52 2014	(r366958)
+++ head/math/mprime/pkg-plist	Wed Mar 29 05:18:30 2017	(r437181)
@@ -5,4 +5,3 @@ bin/mprime-real
 %%PORTDOCS%%%%DOCSDIR%%/stress.txt
 %%PORTDOCS%%%%DOCSDIR%%/undoc.txt
 %%PORTDOCS%%%%DOCSDIR%%/whatsnew.txt
-%%PORTDOCS%%@dirrm %%DOCSDIR%%



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