blob: c2eca8e25d1fe9d4555e758e9789df39d9e51b6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# $NetBSD: Makefile,v 1.4 1998/11/04 18:08:45 garbled Exp $
DISTNAME= pvm3.4.beta7
PKGNAME= pvm-3.4.7
CATEGORIES= parallel
MASTER_SITES= http://www.netlib.org/pvm3/
EXTRACT_SUFX= .tgz
MAINTAINER= root@garbled.net
HOMEPAGE= http://www.netlib.org/
#DEPENDS+= ssh-1.2.26:../../security/ssh
WRKSRC= ${WRKDIR}/pvm3
MAKE_ENV+= PVM_ROOT=${WRKSRC}
ALL_TARGET= all install
post-patch:
@${MV} ${WRKSRC}/lib/pvm ${WRKSRC}/lib/pvm.in
@${SED} -e 's@XXPKGXX@${LOCALBASE}@g' < ${WRKSRC}/lib/pvm.in > ${WRKSRC}/lib/pvm
@${MV} ${WRKSRC}/lib/pvmd ${WRKSRC}/lib/pvmd.in
@${SED} -e 's@XXPKGXX@${LOCALBASE}@g' < ${WRKSRC}/lib/pvmd.in > ${WRKSRC}/lib/pvmd
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/NETBSD/* ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/lib/NETBSD/pvmd3 ${PREFIX}/libexec
${INSTALL_PROGRAM} ${WRKSRC}/lib/NETBSD/pvm ${PREFIX}/libexec
${INSTALL_SCRIPT} ${WRKSRC}/lib/pvm ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/lib/pvmd ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/lib/NETBSD/libpvm3.a ${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/lib/NETBSD/libfpvm3.a ${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/lib/NETBSD/libgpvm3.a ${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/lib/NETBSD/libpvmtrc.a ${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/include
${INSTALL_MAN} ${WRKSRC}/man/man1/* ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/man/man3/* ${PREFIX}/man/man3
.include "../../mk/bsd.pkg.mk"
|