2015-06-12 12:48:20 +02:00
|
|
|
# $NetBSD: Makefile,v 1.25 2015/06/12 10:50:55 wiz Exp $
|
2002-10-13 06:30:05 +02:00
|
|
|
#
|
|
|
|
|
2008-08-11 15:48:22 +02:00
|
|
|
DISTNAME= Parallel-Pvm-1.4.0
|
2002-10-13 06:30:05 +02:00
|
|
|
PKGNAME= p5-${DISTNAME}
|
2015-06-12 12:48:20 +02:00
|
|
|
PKGREVISION= 7
|
2002-10-13 06:30:05 +02:00
|
|
|
CATEGORIES= parallel perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Parallel/}
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2006-10-04 23:53:15 +02:00
|
|
|
HOMEPAGE= http://www.csm.ornl.gov/pvm/pvm_home.html
|
2008-08-11 15:48:22 +02:00
|
|
|
#HOMEPAGE= http://search.cpan.org/dist/Parallel-Pvm/
|
2002-10-13 06:30:05 +02:00
|
|
|
COMMENT= Perl module for PVM (Parallel Virtual Machine)
|
|
|
|
|
|
|
|
PVM_ROOT?= ${LOCALBASE}/pvm3
|
2005-12-05 21:49:47 +01:00
|
|
|
CONFIGURE_ENV+= PVM_ROOT=${PVM_ROOT:Q} PVM_ARCH=${PVM_ARCH:Q}
|
|
|
|
MAKE_ENV+= PVM_ROOT=${PVM_ROOT:Q} PVM_ARCH=${PVM_ARCH:Q}
|
2005-07-13 20:01:18 +02:00
|
|
|
PERL5_PACKLIST= auto/Parallel/Pvm/.packlist
|
2002-10-13 06:30:05 +02:00
|
|
|
MESSAGE_SUBST+= PVM_ROOT=${PVM_ROOT}
|
|
|
|
EXAMPLES_DIR= ${PREFIX}/share/examples/p5-Parallel-Pvm
|
|
|
|
|
2008-06-12 04:14:13 +02:00
|
|
|
INSTALLATION_DIRS= ${EXAMPLES_DIR}
|
|
|
|
|
2002-10-13 06:30:05 +02:00
|
|
|
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:
|
2008-06-12 04:14:13 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/hello.pl ${DESTDIR}${EXAMPLES_DIR}
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/hello_other.pl ${DESTDIR}${EXAMPLES_DIR}
|
2002-10-13 06:30:05 +02:00
|
|
|
|
|
|
|
.include "../../lang/perl5/module.mk"
|
2004-04-24 19:32:36 +02:00
|
|
|
.include "../../parallel/pvm3/buildlink3.mk"
|
2002-10-13 06:30:05 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|