From owner-svn-ports-all@freebsd.org Sat Nov 14 20:27:14 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 370A4A2F137; Sat, 14 Nov 2015 20:27:14 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D97E91B5E; Sat, 14 Nov 2015 20:27:13 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tAEKRCOQ039326; Sat, 14 Nov 2015 20:27:12 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tAEKRCna039324; Sat, 14 Nov 2015 20:27:12 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201511142027.tAEKRCna039324@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sat, 14 Nov 2015 20:27:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r401594 - head/math/libtommath X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Nov 2015 20:27:14 -0000 Author: amdmi3 Date: Sat Nov 14 20:27:12 2015 New Revision: 401594 URL: https://svnweb.freebsd.org/changeset/ports/401594 Log: - Update MASTER_SITES and WWW, helpers Modified: head/math/libtommath/Makefile head/math/libtommath/pkg-descr Modified: head/math/libtommath/Makefile ============================================================================== --- head/math/libtommath/Makefile Sat Nov 14 20:12:52 2015 (r401593) +++ head/math/libtommath/Makefile Sat Nov 14 20:27:12 2015 (r401594) @@ -4,15 +4,12 @@ PORTNAME= libtommath PORTVERSION= 0.42.0 PORTREVISION= 2 CATEGORIES= math -MASTER_SITES= http://libtom.org/files/ +MASTER_SITES= http://libtom.net/files/ DISTNAME= ltm-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Comprehensive, modular, and portable mathematical routines -OPTIONS_DEFINE= DOCS SHARED -SHARED_DESC= Build shared library - WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USES= gmake tar:bzip2 ALL_TARGET= default @@ -22,30 +19,28 @@ PORTDOCS= * PLIST_FILES= include/tommath.h include/tommath_class.h \ include/tommath_superclass.h lib/libtommath.a -.include +OPTIONS_DEFINE= DOCS SHARED + +SHARED_DESC= Build shared library +SHARED_USES= libtool:build +SHARED_USE= LDCONFIG=yes +SHARED_PLIST_FILES= lib/libtommath.so lib/libtommath.so.0 lib/libtommath.so.0.0.41 +SHARED_VARS= MAKEFILE=makefile.shared +SHARED_VARS_OFF= MAKEFILE=makefile post-patch: ${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/makefile.shared ${REINPLACE_CMD} -e 's|DESTDIR=|DESTDIR?=| ; s|-g $$(GROUP) -o $$(USER)||' ${WRKSRC}/${MAKEFILE} -.if ${PORT_OPTIONS:MSHARED} -USES+= libtool:build -USE_LDCONFIG= yes -PLIST_FILES+= lib/libtommath.so lib/libtommath.so.0 lib/libtommath.so.0.0.41 -MAKEFILE= makefile.shared -.else -MAKEFILE= makefile -.endif - post-install: -.if ${PORT_OPTIONS:MSHARED} - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtommath.so.0 -.endif @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/bn.pdf ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/poster.pdf ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/tommath.pdf ${STAGEDIR}${DOCSDIR} +post-install-SHARED-on: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtommath.so.0 + regression-test: (cd ${WRKSRC}; \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -f ${MAKEFILE} mtest test; \ Modified: head/math/libtommath/pkg-descr ============================================================================== --- head/math/libtommath/pkg-descr Sat Nov 14 20:12:52 2015 (r401593) +++ head/math/libtommath/pkg-descr Sat Nov 14 20:27:12 2015 (r401594) @@ -2,4 +2,4 @@ LibTomMath provides highly optimized and majority of integer based number theoretic applications (including public key cryptography). -WWW: http://libtom.org +WWW: http://libtom.net/