diff options
Diffstat (limited to 'parallel/mpi-ch/Makefile')
-rw-r--r-- | parallel/mpi-ch/Makefile | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/parallel/mpi-ch/Makefile b/parallel/mpi-ch/Makefile index 72b06d95bdd..631206a1860 100644 --- a/parallel/mpi-ch/Makefile +++ b/parallel/mpi-ch/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.13 2001/02/17 17:53:00 wiz Exp $ +# $NetBSD: Makefile,v 1.14 2001/03/21 15:28:57 wennmach Exp $ -DISTNAME= mpich-1.1.1 +DISTNAME= mpich-1.2.1 CATEGORIES= parallel -MASTER_SITES= ftp://ftp.mcs.anl.gov/pub/mpi/old/ +MASTER_SITES= ftp://ftp.mcs.anl.gov/pub/mpi/ MAINTAINER= root@garbled.net HOMEPAGE= http://www.mcs.anl.gov/mpi/mpich/index.html @@ -12,18 +12,31 @@ COMMENT= Free implementation of the Message Passing Interface DEPENDS+= {openssh-*,ssh{,6}-1.2.27*}:../../security/ssh .endif -WRKSRC= ${WRKDIR}/mpich +DEPENDS+= tk>=8.3.0:../../x11/tk + ALL_TARGET= ALL USE_PERL5= yes HAS_CONFIGURE= yes USE_GMAKE= yes USE_X11= yes CONFIGURE_ARGS= -prefix=${PREFIX} -arch=netbsd -comm=ch_p4 -CONFIGURE_ARGS+= -nof77 -make=${GMAKE} -mpe -rsh=ssh -opt=-O -nodevdebug +CONFIGURE_ARGS+= -docdir=${PREFIX}/share/doc/mpi-ch +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 post-install: - ${RM} ${PREFIX}/mpiuninstall - ${RM} ${PREFIX}/man/mandesc - ${RMDIR} ${PREFIX}/share/doc/mpi + @${RM} ${PREFIX}/man/mandesc + @${MV} ${PREFIX}/sbin/mpiuninstall ${PREFIX}/sbin/mpiuninstall.not + @${CHMOD} 444 ${PREFIX}/sbin/mpiuninstall.not + @${ECHO} "#!/bin/sh" > ${PREFIX}/sbin/mpiuninstall + @${ECHO} "echo Please use the pkg_delete command to uninstall MPICH." \ + >> ${PREFIX}/sbin/mpiuninstall + @${ECHO} "echo The original mpiuninstall script is provided in" \ + >> ${PREFIX}/sbin/mpiuninstall + @${ECHO} "echo ${PREFIX}/sbin/mpiuninstall.not for reference." \ + >> ${PREFIX}/sbin/mpiuninstall + @${ECHO} "exit" >> ${PREFIX}/sbin/mpiuninstall + @${CHMOD} 755 ${PREFIX}/sbin/mpiuninstall .include "../../mk/bsd.pkg.mk" |