summaryrefslogtreecommitdiffstats
path: root/lang/starlogo/Makefile
blob: c893276821fe01b328334d6d662e0a5504a9ef83 (plain)
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
# New ports collection makefile for:    StarLogo
# Date created:		14th November 1999
# Whom:			Jose Marques
#
# $FreeBSD$
#

PORTNAME=	starlogo
PORTVERSION=	2.0.2
PORTREVISION=	2
CATEGORIES=	lang java
MASTER_SITES=	http://education.mit.edu/starlogo/download/
DISTNAME=	${PORTNAME}-2.0

MAINTAINER=	java@FreeBSD.org
COMMENT=	Specialized version of the Logo programming language written in Java

USE_JAVA=	yes
JAVA_VERSION=	1.2+

USE_ZIP=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
DATADIR=	${JAVASHAREDIR}/${PORTNAME}

NO_BUILD=	yes
SUB_FILES=	starlogo.sh

do-install:
	${INSTALL_SCRIPT} ${WRKDIR}/starlogo.sh ${PREFIX}/bin/starlogo
	cd ${WRKSRC} \
	  && ${FIND} . -type d -exec ${MKDIR} ${DATADIR}/{} \; \
	  && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;

.include <bsd.port.mk>
OpenPOWER on IntegriCloud