summaryrefslogtreecommitdiff
path: root/lang/bsh/Makefile
blob: da082a5fe0aa5df26cea4c0fef40ec93f7afe5a8 (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
# Created by: Kimura Fuyuki <fuyuki@mj.0038.net>

PORTNAME=	bsh
DISTVERSION=	2.1.0
CATEGORIES=	lang java

MAINTAINER=	pfg@FreeBSD.org
COMMENT=	Beanshell java scripting language

LICENSE=	APACHE20

USE_GITHUB=	yes
GH_ACCOUNT=	beanshell
GH_PROJECT=	beanshell

USE_JAVA=	8
USE_ANT=	yes
ALL_TARGET=	jarall

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

PLIST_FILES=	${JAVAJARDIR}/${PORTNAME}.jar \
		bin/${PORTNAME}

do-install:
	${INSTALL_DATA} ${WRKSRC}/dist/${PORTNAME}-${DISTVERSION}.jar \
		${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh \
		${STAGEDIR}${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>