summaryrefslogtreecommitdiff
path: root/graphics/white_dune/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-11 19:25:30 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-11 19:25:30 +0000
commit4ba9a9ad70fd0a27c31f6f1d432a3147c37ac532 (patch)
tree8d436d2fdde18575a1a87e5a28a2e04715b2cbb8 /graphics/white_dune/Makefile
parentUpdate port to 2.9.4. (diff)
add white_dune 0.19b31
Graphical VRML97 Editor and animation tool
Notes
Notes: svn path=/head/; revision=57588
Diffstat (limited to 'graphics/white_dune/Makefile')
-rw-r--r--graphics/white_dune/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/graphics/white_dune/Makefile b/graphics/white_dune/Makefile
new file mode 100644
index 000000000000..4614e452f447
--- /dev/null
+++ b/graphics/white_dune/Makefile
@@ -0,0 +1,42 @@
+# ex:ts=8
+# Ports collection makefile for: white_dune
+# Date created: Apr 12, 2002
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= white_dune
+PORTVERSION= 0.19b31
+CATEGORIES= graphics
+MASTER_SITES= http://www.csv.ica.uni-stuttgart.de/vrml/dune/
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/b/beta/}
+
+MAINTAINER= ports@FreeBSD.org
+
+LIB_DEPENDS= png:${PORTSDIR}/graphics/png \
+ jpeg:${PORTSDIR}/graphics/jpeg
+
+USE_BISON= yes
+USE_MESA= yes
+USE_MOTIF= yes
+GNU_CONFIGURE= yes
+ALL_TARGET= # empty
+
+MAN1= dune.1
+
+post-patch:
+ @${GREP} -lR "malloc.h" ${WRKSRC} | ${XARGS} \
+ ${PERL} -pi -e "s/malloc\.h/stdlib.h/g"
+ @${PERL} -pi -e "s/values\.h/limits.h/g" ${WRKSRC}/stdafx.h
+ @${PERL} -pi -e "s/alloca\.h/stdlib.h/g" ${WRKSRC}/NodeNurbsSurface.cpp
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/dune ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${CP} -R ${WRKSRC}/docs/* ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>