aboutsummaryrefslogtreecommitdiffstats
path: root/lang/bsh/Makefile
blob: df55283ec087e330dbd1e17d3051ba960f6f11b6 (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
# New ports collection makefile for:   bsh
# Date created:                25 January 2002
# Whom:                        Kimura Fuyuki <fuyuki@mj.0038.net>
#
# $FreeBSD$
#

PORTNAME=   bsh
PORTVERSION=    2.0.b4
PORTREVISION=   3
CATEGORIES= lang java
MASTER_SITES=   http://www.beanshell.org/
DISTNAME=   ${PORTNAME}-${PORTVERSION:S/.b/b/}
EXTRACT_SUFX=   .jar
EXTRACT_ONLY=

MAINTAINER= simon@olofsson.de
COMMENT=    A Java scripting language

USE_JAVA=   yes
JAVA_VERSION=   1.2+
NO_BUILD=   yes

DATADIR=    ${JAVASHAREDIR}/${PORTNAME}

SUB_FILES=  ${PORTNAME}.sh
SUB_LIST=   JARNAME=${PORTNAME}.jar

PLIST_FILES=    %%DATADIR%%/${PORTNAME}.jar \
        bin/${PORTNAME}
PLIST_DIRS= %%DATADIR%%

do-install:
    ${MKDIR} ${DATADIR}
    ${INSTALL_DATA} ${DISTDIR}/${DISTFILES} \
        ${DATADIR}/${PORTNAME}.jar
    ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>