mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
6cf4cb90d1
was submitted [1] which - adds USE_GCC since that's how libpvm3.a (a dependency) was built; - works around pvm's aimk build system to pass our LDFLAGS. While we are at it, migrate to the new LIB_DEPENDS format. PR: 183342 [1] Submitted by: Christoph Moench-Tegeder <cmt@burggraben.net> [1] Pointyhat to: gerald [1]
60 lines
1.4 KiB
Makefile
60 lines
1.4 KiB
Makefile
# Created by: Rong-En Fan <rafan@infor.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xpvm
|
|
PORTVERSION= 1.2.5
|
|
PORTREVISION= 2
|
|
CATEGORIES= net parallel
|
|
MASTER_SITES= NL
|
|
MASTER_SITE_SUBDIR= pvm3/xpvm
|
|
DISTNAME= XPVM.src.${PORTVERSION}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A Graphical Console and Monitor for PVM
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
USE_GCC= yes
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libpvm3.a:${PORTSDIR}/net/pvm
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
LIB_DEPENDS= libtk84.so:${PORTSDIR}/x11-toolkits/tk84
|
|
|
|
WRKSRC= ${WRKDIR}/xpvm
|
|
PVM_ROOT?= ${LOCALBASE}/lib/pvm
|
|
MAKE_ENV+= PVM_ROOT=${PVM_ROOT} XPVM_ROOT=${WRKSRC}
|
|
SUB_FILES= pkg-message
|
|
|
|
ALL_TARGET= default
|
|
|
|
NO_STAGE= yes
|
|
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 ${PREFIX}/bin
|
|
${MKDIR} -m 755 ${DATADIR}
|
|
for i in src/*.tcl ; do \
|
|
${INSTALL_DATA} ${WRKSRC}/$$i ${DATADIR}; \
|
|
done
|
|
${MKDIR} -m 755 ${DATADIR}/src/xbm
|
|
for i in src/xbm/* ; do \
|
|
${INSTALL_DATA} ${WRKSRC}/$$i ${DATADIR}/src/xbm; \
|
|
done
|
|
${MKDIR} -m 755 ${DATADIR}/src/help
|
|
for i in src/help/* ; do \
|
|
${INSTALL_DATA} ${WRKSRC}/$$i ${DATADIR}/src/help; \
|
|
done
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|