1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/net/xpvm/Makefile
Pawel Pekala 0b47527e7c - Add staging support
- Remove leading article from COMMENT
- Move things to proper places
2014-06-27 16:08:43 +00:00

49 lines
1.3 KiB
Makefile

# Created by: Rong-En Fan <rafan@infor.org>
# $FreeBSD$
PORTNAME= xpvm
PORTVERSION= 1.2.5
PORTREVISION= 3
CATEGORIES= net parallel
MASTER_SITES= NL
MASTER_SITE_SUBDIR= pvm3/xpvm
DISTNAME= XPVM.src.${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphical console and monitor for PVM
BUILD_DEPENDS= ${LOCALBASE}/lib/libpvm3.a:${PORTSDIR}/net/pvm
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= tk:84
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>