- Update to 2.9.2 and pass maintainership to the submitter. [1]
- Trim Makefile header. PR: ports/173157 [1] Feature safe: yes
This commit is contained in:
parent
51f5b2331c
commit
7c2861eb04
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306827
7 changed files with 97 additions and 39 deletions
|
@ -1,45 +1,58 @@
|
|||
# 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>
|
||||
#
|
||||
# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= aoi
|
||||
PORTVERSION= 2.5.1
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 2.9.2
|
||||
CATEGORIES= graphics java
|
||||
MASTER_SITES= SF/${PORTNAME}/ArtOfIllusion/${PORTVERSION}
|
||||
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
|
||||
DIST_SUBDIR= java
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= An open source Java written 3D modelling and rendering studio
|
||||
MAINTAINER= nemysis@gmx.ch
|
||||
COMMENT= Open source Java written 3D modelling and rendering studio
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
|
||||
|
||||
USE_ZIP= yes
|
||||
EXTRACT_BEFORE_ARGS= -a -q
|
||||
USE_JAVA= yes
|
||||
JAVA_VERSION= 1.5+
|
||||
USE_ZIP= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/ArtOfIllusion${PORTVERSION:S/.//g}
|
||||
|
||||
EXTRACT_BEFORE_ARGS= -a -q
|
||||
|
||||
PORTDOCS= HISTORY README
|
||||
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
||||
|
||||
SUB_FILES= aoi.sh
|
||||
SUB_FILES= ${PORTNAME} \
|
||||
pkg-message
|
||||
|
||||
DESKTOP_ENTRIES="Art of Illusion" "${COMMENT}" "${PORTNAME}" \
|
||||
"${PORTNAME}" "Application;Graphics;" ${FALSE}
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-install:
|
||||
@${ECHO_MSG} -n ">> Installing ..."
|
||||
${MKDIR} ${DATADIR}
|
||||
(cd ${WRKSRC} && ${FIND} ArtOfIllusion.jar Icons Plugins Scripts | \
|
||||
${CPIO} -pdmuv -R${SHAREOWN}:${SHAREGRP} ${DATADIR})
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/aoi.sh ${PREFIX}/bin/aoi
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
|
||||
.for d in Icons Plugins Scripts lib *.jar
|
||||
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${DATADIR})
|
||||
.endfor
|
||||
@(cd ${WRKSRC} && ${CP} -r "Textures and Materials" ${DATADIR})
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}/..."
|
||||
post-install:
|
||||
# Fix Permission that user can write in Plugins and Scripts
|
||||
@(cd ${DATADIR} && ${CHMOD} -R 774 Plugins Scripts)
|
||||
${LN} -sf ${DATADIR}/Icons/48x48.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} HISTORY LICENSE README ${DOCSDIR})
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
@${ECHO_CMD}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${ECHO_CMD}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (aoi251.zip) = 9a7ad546a4afb6ae40d9370c35eb3177550dc2b1014c0d1ddda116233e1a0a85
|
||||
SIZE (aoi251.zip) = 4532523
|
||||
SHA256 (java/aoi292.zip) = 17654da91aa78de15df712b486060676e27f17d8dda5053fd0a46adbdba2b220
|
||||
SIZE (java/aoi292.zip) = 6418282
|
||||
|
|
8
graphics/aoi/files/aoi.in
Normal file
8
graphics/aoi/files/aoi.in
Normal file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
export JAVA_VERSION="%%JAVA_VERSION%%"
|
||||
|
||||
cd "%%DATADIR%%" && exec "%%LOCALBASE%%/bin/java" \
|
||||
-Djava.ext.dirs="%%DATADIR%%" -jar "%%DATADIR%%/ArtOfIllusion.jar" "${@}"
|
|
@ -1,7 +0,0 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
|
||||
( cd "%%DATADIR%%" && \
|
||||
"%%LOCALBASE%%/bin/java" -jar "%%DATADIR%%/ArtOfIllusion.jar" "${@}" )
|
26
graphics/aoi/files/pkg-message.in
Normal file
26
graphics/aoi/files/pkg-message.in
Normal file
|
@ -0,0 +1,26 @@
|
|||
===============================================================================
|
||||
|
||||
Art of Illusion has been installed.
|
||||
|
||||
This package does not include all Plugins and Scripts.
|
||||
|
||||
You could use Scripts & Plugins Manager to install additional
|
||||
Plugins and Scripts
|
||||
|
||||
http://aoisp.sourceforge.net/spmanagement.html
|
||||
|
||||
In addition, you can search for additional Plugins and Scripts here:
|
||||
|
||||
http://aoisp.sourceforge.net/AoIRepository/
|
||||
|
||||
and other Sites and put it in:
|
||||
|
||||
%%DATADIR%%/Plugins
|
||||
%%DATADIR%%/Scripts/...
|
||||
|
||||
After deinstallation, some files may stay in %%DATADIR%%,
|
||||
you can delete them with
|
||||
|
||||
rm -fr %%DATADIR%%
|
||||
|
||||
===============================================================================
|
|
@ -1,6 +1,7 @@
|
|||
Art of Illusion is a free, open source 3D modelling and rendering
|
||||
studio.
|
||||
|
||||
Visit these following web pages for more information:
|
||||
Art of Illusion is a free, open source 3D modelling and rendering studio.
|
||||
Many of its capabilities rival those found in commercial programs.
|
||||
Highlights include subdivision surface based modelling tools,
|
||||
skeleton based animation, and a graphical language for designing procedural
|
||||
textures and materials..
|
||||
|
||||
WWW: http://aoi.sourceforge.net/
|
||||
|
|
|
@ -1,13 +1,10 @@
|
|||
bin/aoi
|
||||
%%PORTDOCS%%%%DOCSDIR%%/HISTORY
|
||||
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%DATADIR%%/ArtOfIllusion.jar
|
||||
%%DATADIR%%/Icons/32x32.png
|
||||
%%DATADIR%%/Icons/48x48.png
|
||||
%%DATADIR%%/Icons/64x64.png
|
||||
%%DATADIR%%/Plugins/Help/AOIHelp.zip
|
||||
%%DATADIR%%/Plugins/Help/helpgui-1.1a.jar
|
||||
%%DATADIR%%/Plugins/Help/helpgui-1.1b.jar
|
||||
%%DATADIR%%/Plugins/Help/jhall.jar
|
||||
%%DATADIR%%/Plugins/Help/jhelpaction.jar
|
||||
%%DATADIR%%/Plugins/Help/pircbot.jar
|
||||
|
@ -29,6 +26,27 @@ bin/aoi
|
|||
%%DATADIR%%/Scripts/Tools/Sculpt.bsh
|
||||
%%DATADIR%%/Scripts/Tools/Text.bsh
|
||||
%%DATADIR%%/Scripts/Tools/Thicken.bsh
|
||||
%%DATADIR%%/Textures and Materials/Library/.DS_Store
|
||||
%%DATADIR%%/Textures and Materials/Library/Building Materials.aoi
|
||||
%%DATADIR%%/Textures and Materials/Library/Effects.aoi
|
||||
%%DATADIR%%/Textures and Materials/Library/Fire.aoi
|
||||
%%DATADIR%%/Textures and Materials/Library/Geography.aoi
|
||||
%%DATADIR%%/Textures and Materials/Library/Metal.aoi
|
||||
%%DATADIR%%/Textures and Materials/Library/Sky.aoi
|
||||
%%DATADIR%%/Textures and Materials/Library/Water.aoi
|
||||
%%DATADIR%%/Textures and Materials/Library/Wood.aoi
|
||||
%%DATADIR%%/lib/Buoy.jar
|
||||
%%DATADIR%%/lib/Buoyx.jar
|
||||
%%DATADIR%%/lib/Jama-1.0.2.jar
|
||||
%%DATADIR%%/lib/QuickTimeWriter.jar
|
||||
%%DATADIR%%/lib/beanshell.jar
|
||||
%%DATADIR%%/lib/gluegen-rt.jar
|
||||
%%DATADIR%%/lib/jogl.jar
|
||||
%%DATADIR%%/lib/svgSalamander.jar
|
||||
share/pixmaps/aoi.png
|
||||
@dirrm %%DATADIR%%/lib
|
||||
@dirrm %%DATADIR%%/Textures and Materials/Library
|
||||
@dirrm %%DATADIR%%/Textures and Materials
|
||||
@dirrm %%DATADIR%%/Scripts/Tools
|
||||
@dirrm %%DATADIR%%/Scripts/Startup
|
||||
@dirrm %%DATADIR%%/Scripts/Objects
|
||||
|
@ -37,4 +55,3 @@ bin/aoi
|
|||
@dirrm %%DATADIR%%/Plugins
|
||||
@dirrm %%DATADIR%%/Icons
|
||||
@dirrm %%DATADIR%%
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
|
Loading…
Reference in a new issue