aboutsummaryrefslogtreecommitdiffstats
path: root/lang/starlogo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/starlogo/Makefile')
-rw-r--r--lang/starlogo/Makefile24
1 files changed, 13 insertions, 11 deletions
diff --git a/lang/starlogo/Makefile b/lang/starlogo/Makefile
index 564573bd9ef6..0f9a0844a755 100644
--- a/lang/starlogo/Makefile
+++ b/lang/starlogo/Makefile
@@ -6,26 +6,28 @@
#
PORTNAME= starlogo
-PORTVERSION= 1.2.2
+PORTVERSION= 2.0.2
CATEGORIES= lang java
-MASTER_SITES= http://el.www.media.mit.edu/groups/el/Projects/starlogo/download/
+MASTER_SITES= http://education.mit.edu/starlogo/download/
+DISTNAME= ${PORTNAME}-2.0
-MAINTAINER= noway@nohow.demon.co.uk
+MAINTAINER= java@freebsd.org
-RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper \
- ${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jre
+USE_JAVA= 1.2+
+USE_ZIP= yes
USE_REINPLACE= yes
-NO_BUILD= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-do-configure:
- @${REINPLACE_CMD} -e \
- "s|%%PREFIX%%|${PREFIX}|g ; s|%%LOCALBASE%%|${LOCALBASE}|g" \
- ${WRKSRC}/starlogo-unix
+NO_BUILD= yes
do-install:
@${MKDIR} ${PREFIX}/share/java/starlogo
- @${INSTALL_SCRIPT} ${WRKSRC}/starlogo-unix ${PREFIX}/bin/starlogo
+ @${INSTALL_SCRIPT} ${FILESDIR}/starlogo ${PREFIX}/bin/starlogo
+ @${REINPLACE_CMD} -e \
+ "s|%%PREFIX%%|${PREFIX}|g ; s|%%LOCALBASE%%|${LOCALBASE}|g" \
+ ${PREFIX}/bin/starlogo
+ @${RM} ${PREFIX}/bin/starlogo.bak
@(cd ${WRKSRC} && ${TAR} -c -f - .) \
| (cd ${PREFIX}/share/java/starlogo && ${TAR} --unlink -x -f -)