aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/pvmpov/Makefile
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-05-29 16:47:48 +0800
committersobomax <sobomax@FreeBSD.org>2000-05-29 16:47:48 +0800
commit9b7ed1ece0c28faf68dea93f7d9b89a4b6e1523d (patch)
tree441d7df122a3dbae382fc8c023581b74df6819e7 /graphics/pvmpov/Makefile
parente9760c338e222bfbb67e1d54b2daf42794e8bfeb (diff)
downloadfreebsd-ports-graphics-9b7ed1ece0c28faf68dea93f7d9b89a4b6e1523d.tar.gz
freebsd-ports-graphics-9b7ed1ece0c28faf68dea93f7d9b89a4b6e1523d.tar.zst
freebsd-ports-graphics-9b7ed1ece0c28faf68dea93f7d9b89a4b6e1523d.zip
Initial import of PvmPov.
PvmPov is a distributing rendering package based on the popular POVRay raytracer and the PVM library. I've tested it on cluster consisted several diskless machines and it works really cool! PR: 17572 Submitted by: sobomax
Diffstat (limited to 'graphics/pvmpov/Makefile')
-rw-r--r--graphics/pvmpov/Makefile49
1 files changed, 49 insertions, 0 deletions
diff --git a/graphics/pvmpov/Makefile b/graphics/pvmpov/Makefile
new file mode 100644
index 00000000000..fc610fd00ca
--- /dev/null
+++ b/graphics/pvmpov/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for: pvmpov
+# Date created: 22 March 2000
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pvmpov
+PORTVERSION= 3.1e.2
+CATEGORIES= graphics
+MASTER_SITES= http://www.luga.de/~flierl/pvmpov/
+DISTNAME= ${PORTNAME}-3.1e2
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= sobomax@FreeBSD.org
+
+BUILD_DEPENDS= nonexistent:${PORTSDIR}/graphics/povray31:configure \
+ aimk:${PORTSDIR}/net/pvm
+RUN_DEPENDS= povray:${PORTSDIR}/graphics/povray31 \
+ pvmd:${PORTSDIR}/net/pvm
+
+USE_XLIB= yes
+
+WRKSRC= ${WRKDIR}/pvmpov3_1e_2
+BUILDBASE= ${WRKSRC}/povray31/source/pvm
+PVM_ROOT= ${LOCALBASE}/lib/pvm
+
+pre-configure:
+ @ (cd ${PORTSDIR}/graphics/povray31/work && ${TAR} -c -f - povray31 ) \
+ | (cd ${WRKSRC} && ${TAR} --unlink -x -f -)
+ @ cd ${WRKSRC} && ${PATCH} -p0 -s < pvmpov.patch
+ @ ${PERL} -pi -e "s|%X11BASE%|${X11BASE}| ; s|%LOCALBASE%|${LOCALBASE}|" \
+ ${BUILDBASE}/Makefile.aimk
+
+do-build:
+ @ cd ${BUILDBASE} && \
+ ${SETENV} PVM_ROOT=${PVM_ROOT} aimk newxwin
+
+do-install:
+ @ ${MKDIR} ${PVM_ROOT}/bin/FREEBSD
+ @ ${MKDIR} ${PREFIX}/share/doc/pvmpov
+ @ ${INSTALL_PROGRAM} ${BUILDBASE}/FREEBSD/x-pvmpov ${PVM_ROOT}/bin/FREEBSD
+ @ ${LN} -sf ${PVM_ROOT}/bin/FREEBSD/x-pvmpov ${PREFIX}/bin/x-pvmpov
+.if !defined(NOPORTDOCS)
+ @ ${MKDIR} ${PREFIX}/share/doc/pvmpov
+ @ ${INSTALL_MAN} ${WRKSRC}/PVM* ${PREFIX}/share/doc/pvmpov
+.endif
+
+.include <bsd.port.mk>