blob: 4e7923edf1c68bceddf56bc973a7f719a3cff5f6 (
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
39
40
41
42
43
44
45
|
# Created by: Rong-En Fan <rafan@infor.org>
# $FreeBSD$
PORTNAME= xpvm
PORTVERSION= 1.2.5
PORTREVISION= 7
CATEGORIES= net parallel
MASTER_SITES= NL/pvm3/xpvm
DISTNAME= XPVM.src.${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphical console and monitor for PVM
LIB_DEPENDS= libpvm3.so:net/pvm
USES= tk:84 tar:tgz
USE_GCC= yes
MAKE_JOBS_UNSAFE= yes
WRKSRC= ${WRKDIR}/xpvm
PVM_ROOT?= ${LOCALBASE}/lib/pvm
MAKE_ENV+= PVM_ROOT=${PVM_ROOT} XPVM_ROOT=${WRKSRC}
SUB_FILES= pkg-message
ALL_TARGET= default
pre-everything::
@${ECHO_MSG}
@${ECHO_MSG} "If your PVM is not installed in the default directory,"
@${ECHO_MSG} "please define PVM_ROOT=/path/to/your/pvm."
@${ECHO_MSG}
post-patch:
@cd ${WRKSRC} && ${REINPLACE_CMD} -e 's/malloc.h/stdlib.h/' \
src/xpvm.h tracer/trclib.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/FREEBSD/xpvm ${STAGEDIR}${PREFIX}/bin
@${MKDIR} -m 755 ${STAGEDIR}${DATADIR}/src/xbm
@${MKDIR} -m 755 ${STAGEDIR}${DATADIR}/src/help
${INSTALL_DATA} ${WRKSRC}/src/*.tcl ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/src/xbm/* ${STAGEDIR}${DATADIR}/src/xbm
${INSTALL_DATA} ${WRKSRC}/src/help/* ${STAGEDIR}${DATADIR}/src/help
.include <bsd.port.mk>
|