aboutsummaryrefslogtreecommitdiffstats
path: root/lang/starlogo/Makefile
blob: 8950c82582cb2d826613ccf2e6fcbb84f0ea6483 (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
# 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.5+

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>