aboutsummaryrefslogtreecommitdiffstats
path: root/lang/starlogo/Makefile
blob: 1586fddb2aa971ff8ab87762fc1f2ddf80bc6a07 (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
# 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

USE_JAVA=   yes
JAVA_VERSION=   1.6+

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

NO_BUILD=   yes
SUB_FILES=  starlogo.sh

NO_STAGE=   yes
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>