aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/aoi
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-06-22 02:20:26 +0800
committerlioux <lioux@FreeBSD.org>2002-06-22 02:20:26 +0800
commit3aba8560039f48e34f1620b7b457b09e4bd1c035 (patch)
treeb649869106d804f758a7f070b7133a0b2c80f033 /graphics/aoi
parent30519494a551ce54cdfdd2373c0aedb80c4c5721 (diff)
downloadfreebsd-ports-gnome-3aba8560039f48e34f1620b7b457b09e4bd1c035.tar.gz
freebsd-ports-gnome-3aba8560039f48e34f1620b7b457b09e4bd1c035.tar.zst
freebsd-ports-gnome-3aba8560039f48e34f1620b7b457b09e4bd1c035.zip
New port aoi version 1.1: Art Of Illusion, An open source Java
written 3D modelling and rendering studio
Diffstat (limited to 'graphics/aoi')
-rw-r--r--graphics/aoi/Makefile63
-rw-r--r--graphics/aoi/distinfo1
-rw-r--r--graphics/aoi/files/wrapper.sh9
-rw-r--r--graphics/aoi/pkg-comment1
-rw-r--r--graphics/aoi/pkg-descr7
-rw-r--r--graphics/aoi/pkg-plist13
6 files changed, 94 insertions, 0 deletions
diff --git a/graphics/aoi/Makefile b/graphics/aoi/Makefile
new file mode 100644
index 000000000000..b34d81003b53
--- /dev/null
+++ b/graphics/aoi/Makefile
@@ -0,0 +1,63 @@
+# New ports collection makefile for: Art Of Illusion
+# Date created: Fri Jun 21 17:10:56 UTC 2002
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= aoi
+PORTVERSION= 1.1
+CATEGORIES= graphics java
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= aoi
+DISTNAME= ArtOfIllusion${PORTVERSION}
+
+MAINTAINER= lioux@FreeBSD.org
+
+USE_JAVA= 1.3+
+USE_REINPLACE= yes
+USE_ZIP= yes
+NO_BUILD= yes
+NO_BUILD_DEPENDS_JAVA= yes
+PLIST_SUB= JAR_DIR=${JAR_DIR} \
+ JAR_FILE=${JAR_FILE}
+
+EXTRACT_BEFORE_ARGS= -a -q
+
+JAVAVM= ${LOCALBASE}/bin/javavm
+JAR_DIR= share/java/jar/${PORTNAME}/
+JAR_MANIFEST= ${FILESDIR}/manifest
+
+DOC_FILES= HISTORY LICENSE README
+JAR_FILES= ArtOfIllusion.jar
+JAR_PLUGIN_FILES= OSSpecific.jar Renderers.jar Tools.jar Translators.jar
+
+post-patch:
+# remove trailing ^M
+ @${SED} -e "s|%%JAR_DIR%%|${JAR_DIR}|;s|%%JAR_FILE%%|${JAR_FILE}|; \
+ s|%%JAVAVM%%|${JAVAVM}|;s|%%PREFIX%%|${PREFIX}|" \
+ ${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh
+
+do-install:
+ @${MKDIR} ${PREFIX}/${JAR_DIR}
+.for jar in ${JAR_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/${jar} ${PREFIX}/${JAR_DIR}
+.endfor
+ @${MKDIR} ${PREFIX}/${JAR_DIR}/Plugins
+.for jar in ${JAR_PLUGIN_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/Plugins/${jar} \
+ ${PREFIX}/${JAR_DIR}/Plugins
+.endfor
+ @${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/${PORTNAME}
+.ifndef(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for doc in ${DOC_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.pre.mk>
+
+JAR_FILE= ArtOfIllusion.jar
+
+.include <bsd.port.post.mk>
diff --git a/graphics/aoi/distinfo b/graphics/aoi/distinfo
new file mode 100644
index 000000000000..0250e732ac21
--- /dev/null
+++ b/graphics/aoi/distinfo
@@ -0,0 +1 @@
+MD5 (ArtOfIllusion1.1.zip) = 2e35b798936332d0c03788f6863a2e1c
diff --git a/graphics/aoi/files/wrapper.sh b/graphics/aoi/files/wrapper.sh
new file mode 100644
index 000000000000..b4039bc78c2a
--- /dev/null
+++ b/graphics/aoi/files/wrapper.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+PREFIX="%%PREFIX%%"
+JAVAVM="%%JAVAVM%%"
+JAR_DIR="%%JAR_DIR%%"
+JAR_FILE="%%JAR_FILE%%"
+
+( cd ${PREFIX}/${JAR_DIR} && \
+ ${JAVAVM} -jar ${PREFIX}/${JAR_DIR}/${JAR_FILE} $* )
diff --git a/graphics/aoi/pkg-comment b/graphics/aoi/pkg-comment
new file mode 100644
index 000000000000..e3f774418965
--- /dev/null
+++ b/graphics/aoi/pkg-comment
@@ -0,0 +1 @@
+An open source Java written 3D modelling and rendering studio
diff --git a/graphics/aoi/pkg-descr b/graphics/aoi/pkg-descr
new file mode 100644
index 000000000000..fc5bb898358a
--- /dev/null
+++ b/graphics/aoi/pkg-descr
@@ -0,0 +1,7 @@
+Art of Illusion is a free, open source 3D modelling and rendering
+studio. It is written entirely in Java, and should be usable on any
+Java Virtual Machine which is compatible with JDK 1.1 or later.
+
+Visit these following web pages for more information:
+
+WWW: http://www.artofillusion.org/
diff --git a/graphics/aoi/pkg-plist b/graphics/aoi/pkg-plist
new file mode 100644
index 000000000000..88d9f57ea1b7
--- /dev/null
+++ b/graphics/aoi/pkg-plist
@@ -0,0 +1,13 @@
+bin/aoi
+%%PORTDOCS%%share/doc/aoi/HISTORY
+%%PORTDOCS%%share/doc/aoi/LICENSE
+%%PORTDOCS%%share/doc/aoi/README
+share/java/jar/aoi/ArtOfIllusion.jar
+share/java/jar/aoi/Plugins/OSSpecific.jar
+share/java/jar/aoi/Plugins/Renderers.jar
+share/java/jar/aoi/Plugins/Tools.jar
+share/java/jar/aoi/Plugins/Translators.jar
+@dirrm share/java/jar/aoi/Plugins
+@dirrm share/java/jar/aoi
+@unexec rmdir %D/share/java/jar 2>/dev/null || true
+%%PORTDOCS%%@dirrm share/doc/aoi