summaryrefslogtreecommitdiffstats
path: root/lang/fesi/Makefile
blob: 54ba9fb6468255d98d34cedef2cbb76f4b99013d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# 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>
OpenPOWER on IntegriCloud