diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2017-01-11 01:41:36 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2017-01-11 01:41:36 +0000 |
commit | 9a6ef01a2e433f5365dc507ecc149dfde93ad813 (patch) | |
tree | cced7e4c59c93384f52532313b15730462dc6f7b /math/jags | |
parent | 5059d28bfdbee439db4b35880c7fd2c1d149124c (diff) | |
download | ports-9a6ef01a2e433f5365dc507ecc149dfde93ad813.tar.gz ports-9a6ef01a2e433f5365dc507ecc149dfde93ad813.zip |
1: Update to 4.2.0.
2: strip binary.
3: modenize.
Notes
Notes:
svn path=/head/; revision=431151
Diffstat (limited to 'math/jags')
-rw-r--r-- | math/jags/Makefile | 49 | ||||
-rw-r--r-- | math/jags/distinfo | 5 | ||||
-rw-r--r-- | math/jags/pkg-plist | 2 |
3 files changed, 24 insertions, 32 deletions
diff --git a/math/jags/Makefile b/math/jags/Makefile index 1107cf7f0d98..d34d62a173da 100644 --- a/math/jags/Makefile +++ b/math/jags/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= mcmc-jags -PORTVERSION= 4.0.0 -PORTREVISION= 3 +PORTVERSION= 4.2.0 CATEGORIES= math MASTER_SITES= SF/mcmc-jags/JAGS/${S}.x/Source/:1 \ SF/mcmc-jags/Examples/${S}.x/:2 \ @@ -22,41 +21,35 @@ GNU_CONFIGURE= yes USES= bison compiler:features fortran gmake libtool localbase pathfix USE_GCC= yes USE_LDCONFIG= yes +INSTALL_TARGET= install-strip WRKSRC= ${WRKDIR}/JAGS-${PORTVERSION} -OPTIONS_SINGLE= BLAS +OPTIONS_SINGLE= BLAS OPTIONS_SINGLE_BLAS= ATLAS OPENBLAS NETLIB -OPTIONS_DEFAULT+= OPENBLAS +OPTIONS_DEFAULT+= OPENBLAS -ATLAS_USES= blaslapack:atlas -ATLAS_VARS= MANUAL_PACKAGE_BUILD=\ +ATLAS_USES= blaslapack:atlas +ATLAS_VARS= MANUAL_PACKAGE_BUILD=\ "Choose a BLAS option other than ATLAS for package building." -NETLIB_USES= blaslapack:netlib -OPENBLAS_USES= blaslapack:openblas +NETLIB_USES= blaslapack:netlib +OPENBLAS_USES= blaslapack:openblas +DOCS_DISTFILES= jags_developer_manual.pdf:3 jags_installation_manual.pdf:4 \ + jags_user_manual.pdf:4 +DOCS_PORTDOCS= ${DISTFILES:M*[34]:C|:.*||} +EXAMPLES_DISTFILES= classic-bugs.tar.gz:2 +EXAMPLES_PORTEXAMPLES= * -CONFIGURE_ARGS+= --with-blas="-L${LOCALBASE}/lib ${BLASLIB}" \ +CONFIGURE_ARGS+= --with-blas="-L${LOCALBASE}/lib ${BLASLIB}" \ --with-lapack="${LAPACKLIB}" -OPTIONS_SUB= YES +OPTIONS_SUB= YES PLIST_SUB= MODULEVERSION=${S} S= ${PORTVERSION:C|\..*||} OPTIONS_DEFINE= DOCS EXAMPLES -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MDOCS} || make(makesum) -DISTFILES+= jags_developer_manual.pdf:3 jags_installation_manual.pdf:4 \ - jags_user_manual.pdf:4 -PORTDOCS= ${DISTFILES:M*[34]:C|:.*||} -.endif -.if ${PORT_OPTIONS:MEXAMPLES} || make(makesum) -DISTFILES+= classic-bugs.tar.gz:2 -PORTEXAMPLES= * -.endif - post-patch: @${REINPLACE_CMD} \ -e '/@WINDOWS_FALSE@bin_SCRIPTS =/s/jags/mcmc-&/' \ @@ -65,20 +58,18 @@ post-patch: -e '/@WINDOWS_FALSE@.*rm -f jags/s/jags/mcmc-&/' \ -e '/@WINDOWS_FALSE@.*mv jags.tmp jags/s/jags/mcmc-&/2' \ ${WRKSRC}/src/terminal/Makefile.in -.if ${PORT_OPTIONS:MEXAMPLES} + +post-patch-EXAMPLES-on: @${SED} -i '' -e '\|JAGS ?=|{s|jags|mcmc-&|;s|/usr/local|${PREFIX}|;}' \ ${WRKDIR}/classic-bugs/vol[12]/Makefile -.endif -post-install: -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @cd ${_DISTDIR}; ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} -.endif -.if ${PORT_OPTIONS:MEXAMPLES} + +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @cd ${WRKDIR}/classic-bugs; ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR} -.endif .if defined(MAINTAINER_MODE) BUILD_DEPENDS+= ${LOCALBASE}/lib/R/library/coda/R/coda.rdb:math/R-cran-coda diff --git a/math/jags/distinfo b/math/jags/distinfo index 40da57aebe54..e1cb7947f086 100644 --- a/math/jags/distinfo +++ b/math/jags/distinfo @@ -1,5 +1,6 @@ -SHA256 (mcmc-jags/JAGS-4.0.0.tar.gz) = a1d572269029d90d4e8b25757fd7ae9678994bd682937ec505ddcf06185d2c4c -SIZE (mcmc-jags/JAGS-4.0.0.tar.gz) = 1880476 +TIMESTAMP = 1484058893 +SHA256 (mcmc-jags/JAGS-4.2.0.tar.gz) = af3e9d2896d3e712f99e2a0c81091c6b08f096650af6aa9d0c631c0790409cf7 +SIZE (mcmc-jags/JAGS-4.2.0.tar.gz) = 1875538 SHA256 (mcmc-jags/jags_developer_manual.pdf) = 6e7c707b94ffc931807198cc162e8b254859bb774695ae39ef1c1c175560259b SIZE (mcmc-jags/jags_developer_manual.pdf) = 71319 SHA256 (mcmc-jags/jags_installation_manual.pdf) = 022fcedcf85b259cfe52b13b8a1c3b02a4f0af3ab8370a160c9d5bc739699848 diff --git a/math/jags/pkg-plist b/math/jags/pkg-plist index ffa76ff6ef2f..8468139129a9 100644 --- a/math/jags/pkg-plist +++ b/math/jags/pkg-plist @@ -102,7 +102,7 @@ lib/JAGS/modules-%%MODULEVERSION%%/mix.so lib/JAGS/modules-%%MODULEVERSION%%/msm.so lib/libjags.so lib/libjags.so.4 -lib/libjags.so.4.0.0 +lib/libjags.so.4.0.2 lib/libjrmath.so lib/libjrmath.so.0 lib/libjrmath.so.0.0.0 |