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

PORTNAME=	starlogo
PORTVERSION=	1.1
CATEGORIES=	lang java
MASTER_SITES=	http://el.www.media.mit.edu/groups/el/Projects/starlogo/download/

MAINTAINER=	noway@nohow.demon.co.uk

RUN_DEPENDS=	javavm:${PORTSDIR}/java/javavmwrapper \
		${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jre

NO_BUILD=	yes

do-configure:
	@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g ; s|%%LOCALBASE%%|${LOCALBASE}|g" \
		${WRKSRC}/starlogo-unix

do-install:
	@${MKDIR} ${PREFIX}/share/java/starlogo
	@${INSTALL_SCRIPT} ${WRKSRC}/starlogo-unix ${PREFIX}/bin/starlogo
	@(cd ${WRKSRC} && ${TAR} -c -f - .) \
		| (cd ${PREFIX}/share/java/starlogo && && ${TAR} --unlink -x -f -)

.include <bsd.port.mk>