aboutsummaryrefslogtreecommitdiffstats
path: root/lang/fesi/Makefile
blob: cd146ad04f7f77c5aa8cafe20a89021531b0abda (plain) (blame)
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://home.worldcom.ch/jmlugrin/fesi/
DISTNAME=   fesikit
EXTRACT_SUFX=   .zip

MAINTAINER= leo@florida.sarang.net
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>