3664969786
- Install in DATADIR=${JAVASHAREDIR}/${PORTNAME} - Use %%DATADIR%% - Add $FreeBSD$ tags - Tweak COMMENT to calm portlint (and remove redundant port name from it) - Improve launcher shell script (update to javavmwrapper 2.0) and use SUB_FILES - Minor cosmetic improvements
33 lines
787 B
Makefile
33 lines
787 B
Makefile
# New ports collection makefile for: StarLogo
|
|
# Date created: 14th November 1999
|
|
# Whom: Jose Marques
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= starlogo
|
|
PORTVERSION= 2.0.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>
|