summaryrefslogtreecommitdiff
path: root/parallel/mpi-ch/Makefile
diff options
context:
space:
mode:
authorwennmach <wennmach>2001-04-05 17:56:19 +0000
committerwennmach <wennmach>2001-04-05 17:56:19 +0000
commit5ecfa5adbdec9e3cb5cc0b29a37cf887dbef2e00 (patch)
tree90fd00df9a7a216570d87c31847351663336dac2 /parallel/mpi-ch/Makefile
parent8b5e1c69ae88fc4c9f6cdf884cd9d5a6bdef1311 (diff)
downloadpkgsrc-5ecfa5adbdec9e3cb5cc0b29a37cf887dbef2e00.tar.gz
Fix PLIST (leftover files discovered in Hubert Feyrers bulk build).
Add PLIST.java (contains additional installed files if a javac is present during build). Modify Makefile to take the possible presence of a Java compiler into account.
Diffstat (limited to 'parallel/mpi-ch/Makefile')
-rw-r--r--parallel/mpi-ch/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/parallel/mpi-ch/Makefile b/parallel/mpi-ch/Makefile
index 1822db29573..a7f5c388dc7 100644
--- a/parallel/mpi-ch/Makefile
+++ b/parallel/mpi-ch/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2001/04/02 22:52:53 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2001/04/05 17:56:19 wennmach Exp $
DISTNAME= mpich-1.2.1
CATEGORIES= parallel
@@ -24,6 +24,18 @@ CONFIGURE_ARGS+= -htmldir=${PREFIX}/share/doc/html/mpi-ch
CONFIGURE_ARGS+= -make=${GMAKE} --with-mpe -rsh=ssh -opt=-O -nodevdebug
CONFIGURE_ARGS+= --disable-f90 --disable-f90modules
+.include "../../mk/bsd.prefs.mk"
+
+.if exists(work/with-java)
+PLIST_SRC+= ${PKGDIR}/PLIST.java
+.endif
+PLIST_SRC+= ${PKGDIR}/PLIST
+
+post-build:
+ @(if [ -e ${WRKSRC}/mpe/viewers/jumpshot-2/bin/jumpshot ]; then \
+ ${TOUCH} work/with-java; \
+ fi)
+
post-install:
@${RM} ${PREFIX}/man/mandesc
@${MV} ${PREFIX}/sbin/mpiuninstall ${PREFIX}/sbin/mpiuninstall.not