summaryrefslogtreecommitdiff
path: root/parallel/mpi-ch/Makefile
diff options
context:
space:
mode:
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