freebsd-ports/lang/fesi/Makefile
2004-04-05 06:59:31 +00:00

41 lines
1.1 KiB
Makefile

# New ports collection makefile for: fesi
# Date created: 5 August 2000
# Whom: Leo Kim <leo@florida.sarang.net>
#
# $FreeBSD$
#
PORTNAME= fesi
PORTVERSION= 1.1.5
CATEGORIES= lang java
MASTER_SITES= http://www.lugrin.ch/fesi/
DISTNAME= fesikit-${PORTVERSION}
EXTRACT_SUFX= .zip
MAINTAINER= ports@FreeBSD.org
COMMENT= Free EcmaScript Interpreter written in Java
RUN_DEPENDS= ${LOCALBASE}/jdk${JDK_VERSION}/bin/javac:${PORTSDIR}/java/jdk11
NO_BUILD= yes
USE_ZIP= yes
JDK_VERSION= 1.1.8
WRKSRC= ${WRKDIR}/${PORTNAME}
post-extract:
@(cd ${WRKSRC} && ${FIND} * -type d -exec ${CHMOD} 755 {} \;)
do-install:
@${MKDIR} ${PREFIX}/share/java/classes ${PREFIX}/share/java/fesi
@${MKDIR} ${PREFIX}/share/java/fesi/docs ${PREFIX}/share/java/fesi/examples
@(cd ${WRKSRC} && \
${INSTALL_DATA} fesi.jar ${PREFIX}/share/java/classes; \
${CP} [CR]* ${PREFIX}/share/java/fesi; \
${CP} -R doc/html/* ${PREFIX}/share/java/fesi/docs; \
${CP} -R examples/* ${PREFIX}/share/java/fesi/examples; \
)
@${RMDIR} ${PREFIX}/share/java/fesi/examples/Fesi*/classes
.include <bsd.port.mk>