aboutsummaryrefslogtreecommitdiff
path: root/lang/starlogo/Makefile
diff options
context:
space:
mode:
authorHerve Quiroz <hq@FreeBSD.org>2005-02-18 16:07:13 +0000
committerHerve Quiroz <hq@FreeBSD.org>2005-02-18 16:07:13 +0000
commit366496978608b4c82643f9785221d10be8c9e4ac (patch)
treec512eefa79c0be78a84f42aad0d6fd4d6b3b3632 /lang/starlogo/Makefile
parent78613323a4bb115f2d0a7a05b79770b02494688f (diff)
downloadports-366496978608b4c82643f9785221d10be8c9e4ac.tar.gz
ports-366496978608b4c82643f9785221d10be8c9e4ac.zip
Notes
Diffstat (limited to 'lang/starlogo/Makefile')
-rw-r--r--lang/starlogo/Makefile22
1 files changed, 10 insertions, 12 deletions
diff --git a/lang/starlogo/Makefile b/lang/starlogo/Makefile
index 37469cc6d72d..cfcddb9e6fa6 100644
--- a/lang/starlogo/Makefile
+++ b/lang/starlogo/Makefile
@@ -11,25 +11,23 @@ CATEGORIES= lang java
MASTER_SITES= http://education.mit.edu/starlogo/download/
DISTNAME= ${PORTNAME}-2.0
-MAINTAINER= java@freebsd.org
-COMMENT= StarLogo is a specialized version of the Logo programming language written in Java
+MAINTAINER= java@FreeBSD.org
+COMMENT= Specialized version of the Logo programming language written in Java
-USE_JAVA= 1.2+
+USE_JAVA= yes
+JAVA_VERSION= 1.2+
USE_ZIP= yes
-USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+DATADIR= ${JAVASHAREDIR}/${PORTNAME}
NO_BUILD= yes
+SUB_FILES= starlogo.sh
do-install:
- @${MKDIR} ${PREFIX}/share/java/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 -)
+ ${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>