aboutsummaryrefslogtreecommitdiffstats
path: root/lang/starlogo/Makefile
blob: 4c69bc6211f153597d698cc1458b9b446e525fd4 (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
# Created by: 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

USES=       zip
USE_JAVA=   yes
JAVA_VERSION=   1.6+

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

NO_BUILD=   yes
SUB_FILES=  starlogo.sh

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

.include <bsd.port.mk>