aboutsummaryrefslogtreecommitdiffstats
path: root/java/bsh/Makefile
blob: b910ae7e0e0e1b8d1326d4f605e2f9f2640d1ca9 (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
# 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=   1
CATEGORIES= java
MASTER_SITES=   http://www.beanshell.org/
DISTNAME=   ${PORTNAME}-${PORTVERSION:S/.b/b/}
EXTRACT_SUFX=   .jar
EXTRACT_ONLY=

MAINTAINER= ports@FreeBSD.org
COMMENT=    A Java scripting environment

PLIST_FILES=    %%JAVAJARDIR%%/bsh.jar bin/bsh
USE_JAVA=   yes
JAVA_VERSION=   1.2+
NO_BUILD=   yes
SUB_FILES=  bsh.sh

do-install:
    ${MKDIR} ${JAVALIBDIR}
    ${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${JAVAJARDIR}/bsh.jar
    ${INSTALL_SCRIPT} ${WRKDIR}/bsh.sh ${PREFIX}/bin/bsh

.include <bsd.port.mk>