aboutsummaryrefslogtreecommitdiff
path: root/lang/bsh/Makefile
blob: de050639fa3bd3b7a3dee1f98f137c67c8107766 (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
# 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
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>