aboutsummaryrefslogtreecommitdiffstats
path: root/lang/starlogo/Makefile
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-11-17 06:17:23 +0800
committeredwin <edwin@FreeBSD.org>2002-11-17 06:17:23 +0800
commit23c64631fadb73727c9fc95b9be6a093dd7e2888 (patch)
tree7d4d15aaf99495df321eb85e60c50344869920d1 /lang/starlogo/Makefile
parentb7a3070681865266efc00a1ae464714ca088e771 (diff)
downloadfreebsd-ports-gnome-23c64631fadb73727c9fc95b9be6a093dd7e2888.tar.gz
freebsd-ports-gnome-23c64631fadb73727c9fc95b9be6a093dd7e2888.tar.zst
freebsd-ports-gnome-23c64631fadb73727c9fc95b9be6a093dd7e2888.zip
iMaintainer update to version 2.0.2
PR: ports/45143 Submitted by: Jose Marques <noway@nohow.demon.co.uk>
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 -)