diff options
author | rene <rene@FreeBSD.org> | 2013-06-19 19:43:50 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2013-06-19 19:43:50 +0800 |
commit | 52e45ce029c240e4508232ba338b0e4ce4cbe580 (patch) | |
tree | 6f975de03789af2ae90bb7c9899cd8d11668ee16 /math | |
parent | 6a33db2dd1fa22f44add84d507d52d7e0ccac297 (diff) | |
download | freebsd-ports-gnome-52e45ce029c240e4508232ba338b0e4ce4cbe580.tar.gz freebsd-ports-gnome-52e45ce029c240e4508232ba338b0e4ce4cbe580.tar.zst freebsd-ports-gnome-52e45ce029c240e4508232ba338b0e4ce4cbe580.zip |
- Remove stale reference to expired math/petsc-mpich
- Convert NOPORTDOCS to PORT_OPTIONS:MDOCS
PR: ports/179277
Submitted by: myself
Approved by: maintainer timeout (bf, 16 days)
Diffstat (limited to 'math')
-rw-r--r-- | math/petsc/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/math/petsc/Makefile b/math/petsc/Makefile index 1ff2de37803c..6b48ba641141 100644 --- a/math/petsc/Makefile +++ b/math/petsc/Makefile @@ -14,8 +14,6 @@ COMMENT= Portable, Extensible Toolkit for Scientific computation RUN_DEPENDS= ksh:${PORTSDIR}/shells/pdksh \ qsub:${PORTSDIR}/sysutils/torque -SLAVEDIRS= math/petsc-mpich - HAS_CONFIGURE= yes USE_PYTHON= yes CONFIGURE_SCRIPT= config/configure.py @@ -54,7 +52,9 @@ CONFIGURE_ARGS+= --with-umfpack-include="${LOCALBASE}/include/suitesparse" \ --with-umfpack-lib="[${UMFPACK_LIBS:C/^/${L}/:C/,/, ${L}/g}]" .endif -.if !defined(NOPORTDOCS) +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MDOCS} PORTDOCS= * #USE_TEX= latex:build #BUILD_DEPENDS+= c2html:${PORTSDIR}/textproc/c2html \ @@ -65,8 +65,6 @@ LIBSCALAPACK= ${LOCALBASE}/lib/libscalapack.a LIBBLACS= ${LOCALBASE}/lib/libblacs.a MPIDIR= ${LOCALBASE} -.include <bsd.port.pre.mk> - .if exists(${LOCALBASE}/mpi/openmpi/bin/mpirun) WITH_OPENMPI= yes MPIDIR= ${LOCALBASE}/mpi/openmpi @@ -270,7 +268,7 @@ post-install: ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/${PFX}/bin ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/${PFX}/bmake ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/${PFX}/bmake -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} (cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \ ${MAKEFILE} ${MAKE_ARGS} install_docs) .endif @@ -295,4 +293,4 @@ regression-test: . endif .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |