diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2002-10-13 04:30:05 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2002-10-13 04:30:05 +0000 |
commit | 016b72a6681c32bddd614267eef26c49271decf6 (patch) | |
tree | 628721b64d89dfe138c93a2fb6300819f3dc6780 /parallel/p5-Parallel-Pvm/Makefile | |
parent | 07613eebf7f9be152cb1616d7a60afdc12caaaeb (diff) | |
download | pkgsrc-016b72a6681c32bddd614267eef26c49271decf6.tar.gz |
initial import of p5-Parallel-Pvm-1.3.0
Parallel::Pvm is a perl extension for the parallel virtual machine
(PVM) message-passing system.
Diffstat (limited to 'parallel/p5-Parallel-Pvm/Makefile')
-rw-r--r-- | parallel/p5-Parallel-Pvm/Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/parallel/p5-Parallel-Pvm/Makefile b/parallel/p5-Parallel-Pvm/Makefile new file mode 100644 index 00000000000..bdd2840fef0 --- /dev/null +++ b/parallel/p5-Parallel-Pvm/Makefile @@ -0,0 +1,41 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/10/13 04:30:05 dmcmahill Exp $ +# + +DISTNAME= Parallel-Pvm-1.3.0 +PKGNAME= p5-${DISTNAME} +SVR4_PKGNAME= p5pvm +CATEGORIES= parallel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Parallel/} +EXTRACT_SUFX= .tgz + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.epm.ornl.gov/pvm/pvm_home.html +COMMENT= Perl module for PVM (Parallel Virtual Machine) + +#DEPENDS+= pvm-3.4.3:../../parallel/pvm3 + +PVM_ROOT?= ${LOCALBASE}/pvm3 +CONFIGURE_ENV+= PVM_ROOT=${PVM_ROOT} PVM_ARCH=${PVM_ARCH} +MAKE_ENV+= PVM_ROOT=${PVM_ROOT} PVM_ARCH=${PVM_ARCH} +PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Parallel/Pvm/.packlist +MESSAGE_SUBST+= PVM_ROOT=${PVM_ROOT} +EXAMPLES_DIR= ${PREFIX}/share/examples/p5-Parallel-Pvm +USE_BUILDLINK2= YES + +do-configure: + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL + +post-build: +.for f in hello.pl hello_other.pl + ${SED} -e 's;@exampledir@;${EXAMPLES_DIR};g' -e 's;@perl@;${PERL5};g' \ + ${FILESDIR}/${f} > ${WRKDIR}/${f} +.endfor + +post-install: + ${INSTALL_SCRIPT_DIR} ${EXAMPLES_DIR} + ${INSTALL_SCRIPT} ${WRKDIR}/hello.pl ${EXAMPLES_DIR} + ${INSTALL_SCRIPT} ${WRKDIR}/hello_other.pl ${EXAMPLES_DIR} + +.include "../../lang/perl5/module.mk" +.include "../../parallel/pvm3/buildlink2.mk" +.include "../../mk/bsd.pkg.mk" |