aboutsummaryrefslogtreecommitdiff
path: root/graphics/aoi/Makefile
blob: 4e2e5bd4bb82aeb090610d3d696bac3f3398b50f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# 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=	2.4.1
PORTREVISION=	1
CATEGORIES=	graphics java
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	aoi
DISTNAME=	${PORTNAME}${PORTVERSION:S/.//g}

MAINTAINER=	nemoliu@FreeBSD.org
COMMENT=	An open source Java written 3D modelling and rendering studio

RUN_DEPENDS=	java:${PORTSDIR}/java/javavmwrapper

USE_JAVA=	yes
JAVA_VERSION=	1.4+
USE_ZIP=	yes
NO_BUILD=	yes
WRKSRC=		${WRKDIR}/ArtOfIllusion${PORTVERSION:S/.//g}

EXTRACT_BEFORE_ARGS=	-a -q

DATADIR=	${JAVASHAREDIR}/${PORTNAME}

SUB_FILES=	aoi.sh

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

.if !defined(NOPORTDOCS)
	@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}/..."
	${MKDIR} ${DOCSDIR}
	(cd ${WRKSRC} && ${INSTALL_DATA} HISTORY LICENSE README ${DOCSDIR})
.endif

.include <bsd.port.mk>