mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
89f8b05214
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some circumstances such as versions of FreeBSD or platforms). In particular that is ports with USE_GCC=yes, USE_GCC=any, or one of gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang, c++11-lang, c++0x, c11 requested via USES=compiler.
47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
# Created by: Rong-En Fan <rafan@infor.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xpvm
|
|
PORTVERSION= 1.2.5
|
|
PORTREVISION= 5
|
|
CATEGORIES= net parallel
|
|
MASTER_SITES= NL/pvm3/xpvm
|
|
DISTNAME= XPVM.src.${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Graphical console and monitor for PVM
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libpvm3.a:net/pvm
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
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>
|