aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--math/jags/Makefile28
-rw-r--r--math/jags/distinfo8
2 files changed, 20 insertions, 16 deletions
diff --git a/math/jags/Makefile b/math/jags/Makefile
index 2c35fa9df6b3..409e0269286f 100644
--- a/math/jags/Makefile
+++ b/math/jags/Makefile
@@ -51,9 +51,9 @@ CONFIGURE_ARGS= --with-lapack=-llapack --with-blas=-lblas
.endif
post-patch:
- ${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
+ @${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
${WRKSRC}/etc/Makefile.in
- ${REINPLACE_CMD} \
+ @${REINPLACE_CMD} \
-e '/@WINDOWS_FALSE@bin_SCRIPTS =/s/jags/mcmc-&/' \
-e '/CLEANFILES =/s/jags/mcmc-&/' \
-e '/@WINDOWS_FALSE@jags:/s/jags/mcmc-&/' \
@@ -63,22 +63,20 @@ post-patch:
post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}
.for _M in developer installation user
- ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/jags_${_M}_manual.pdf \
+ @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/jags_${_M}_manual.pdf \
${DOCSDIR}
.endfor
.endif
.if !defined(NOPORTEXAMPLES)
- ${MKDIR} ${EXAMPLESDIR}
- ( cd ${EXAMPLESDIR}; \
+ @${MKDIR} ${EXAMPLESDIR}
+ @( cd ${EXAMPLESDIR}; \
${PAX} -rzf ${DISTDIR}/${DIST_SUBDIR}/classic-bugs.tar.gz \
-s ':^classic-bugs/*::' )
- ${SED} -i '' \
+ @${SED} -i '' \
-e '\|JAGS ?=|{s|jags|mcmc-&|;s|/usr/local|${PREFIX}|;}' \
${EXAMPLESDIR}/vol[12]/Makefile
- ${SED} -i '' -e '\|EXAMPLES ?=|{s|litters||;}' \
- ${EXAMPLESDIR}/vol1/Makefile
@${ECHO_MSG} ""
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG} ""
@@ -88,10 +86,16 @@ post-install:
.if defined(MAINTAINER_MODE)
RUN_DEPENDS+= ${LOCALBASE}/lib/R/library/coda/R/coda.rdb:${PORTSDIR}/math/R-cran-coda
-regression-test test check: install
+testclean: install
.for _i in 1 2
- ( cd ${EXAMPLESDIR}/vol${_i} && ${SETENV} ${MAKE_ENV} ${MAKE} \
- ${_MAKE_JOBS} ${MAKE_ARGS} clean check clean)
+ @( cd ${EXAMPLESDIR}/vol${_i} && ${SETENV} ${MAKE_ENV} ${MAKE} \
+ ${_MAKE_JOBS} ${MAKE_ARGS} clean)
+.endfor
+
+regression-test test check: testclean
+.for _i in 1 2
+ @( cd ${EXAMPLESDIR}/vol${_i} && ${SETENV} ${MAKE_ENV} ${MAKE} \
+ ${_MAKE_JOBS} ${MAKE_ARGS} check)
.endfor
.endif
diff --git a/math/jags/distinfo b/math/jags/distinfo
index f6cd2ba6ee6b..f9051fa35357 100644
--- a/math/jags/distinfo
+++ b/math/jags/distinfo
@@ -1,10 +1,10 @@
SHA256 (mcmc-jags/JAGS-2.2.0.tar.gz) = 6615207cc19463c6398a8c5d02bfc0e3a659928d7da928396f95a63409addd04
SIZE (mcmc-jags/JAGS-2.2.0.tar.gz) = 1621102
-SHA256 (mcmc-jags/classic-bugs.tar.gz) = 1ab4a8f4d6e8765230b00bb8969c8b5375b3f9c1bf57c2d50b89287fbbc52205
+SHA256 (mcmc-jags/classic-bugs.tar.gz) = ae6f9e25f00a3c2bf2d67c8b3fe040f937551ef75407ae0bd8cad5cbc3a8f768
SIZE (mcmc-jags/classic-bugs.tar.gz) = 81419
-SHA256 (mcmc-jags/jags_developer_manual.pdf) = 606f3923fe2f2a45d9a2ca3d284009864ee8ce2906858897330564697fc8e2cb
+SHA256 (mcmc-jags/jags_developer_manual.pdf) = 6e7c707b94ffc931807198cc162e8b254859bb774695ae39ef1c1c175560259b
SIZE (mcmc-jags/jags_developer_manual.pdf) = 71319
SHA256 (mcmc-jags/jags_installation_manual.pdf) = abce36d30b47da443714b08eaec537a97ca5196f2dd5c6ce3816e5b1035125dc
SIZE (mcmc-jags/jags_installation_manual.pdf) = 118975
-SHA256 (mcmc-jags/jags_user_manual.pdf) = 39f642e407a03c2e335adef5fca6af09ae5f9af312274dbb535b652c183b1aff
-SIZE (mcmc-jags/jags_user_manual.pdf) = 221001
+SHA256 (mcmc-jags/jags_user_manual.pdf) = 77d4c2c7160596c34a5d3cec307d66efc44825e965ab43b83ef59fa349999964
+SIZE (mcmc-jags/jags_user_manual.pdf) = 223214