1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-06 22:51:41 +00:00
freebsd-ports/lang/starlogo/Makefile
2000-04-12 06:21:15 +00:00

38 lines
1.3 KiB
Makefile

# New ports collection makefile for: StarLogo
# Date created: 14th November 1999
# Whom: Jose Marques
#
# $FreeBSD$
#
PORTNAME= starlogo
PORTVERSION= 1.0
CATEGORIES= lang java
MASTER_SITES= http://el.www.media.mit.edu/starlogo/download/
DISTNAME= java-starlogo-beta-2
MAINTAINER= noway@nohow.demon.co.uk
RUN_DEPENDS= ${LOCALBASE}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk \
${LOCALBASE}/jdk${JDK_VERSION}/lib/i386/green_threads/libtya.so:${PORTSDIR}/java/tya
WRKSRC= ${WRKDIR}/starlogo-1.0b2
JDK_VERSION= 1.1.8
NO_BUILD= yes
post-patch:
@${CAT} ${WRKSRC}/starlogo-unix | ${SED} -e s,@@PREFIX@@,${PREFIX},g | ${SED} -e s,@@JDK_VERSION@@,${JDK_VERSION},g > ${WRKSRC}/starlogo
do-install:
@${MKDIR} ${PREFIX}/share/java/starlogo
@${MKDIR} ${PREFIX}/share/java/starlogo/projects
@${MKDIR} ${PREFIX}/share/java/starlogo/sounds
@${INSTALL_SCRIPT} ${WRKSRC}/starlogo ${PREFIX}/bin
@${INSTALL_DATA} ${WRKSRC}/starlogo.jar ${PREFIX}/share/java/starlogo
@${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/java/starlogo
@${INSTALL_DATA} ${WRKSRC}/reference.txt ${PREFIX}/share/java/starlogo
@${INSTALL_DATA} ${WRKSRC}/projects/* ${PREFIX}/share/java/starlogo/projects
@${INSTALL_DATA} ${WRKSRC}/sounds/* ${PREFIX}/share/java/starlogo/sounds
.include <bsd.port.mk>