forked from Lainports/freebsd-ports
When appropriate:
- Try to use DISTVERSION{SUF,PRE}FIX
- Replace PORTNAME-PORTVERSION by DISTNAME
- Convert MASTER_SITES to use macros
- Other light cleanup
With hat: portmgr
Sponsored by: Absolight
36 lines
810 B
Makefile
36 lines
810 B
Makefile
# Created by: Kimura Fuyuki <fuyuki@mj.0038.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= bsh
|
|
DISTVERSION= 2.0b5
|
|
CATEGORIES= lang java
|
|
MASTER_SITES= http://svn.codespot.com/a/apache-extras.org/beanshell/src_releases/
|
|
DISTNAME= ${PORTNAME}-${DISTVERSION}-src
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Java scripting language
|
|
|
|
LICENSE= APACHE20
|
|
|
|
USES= zip
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.6+
|
|
|
|
USE_ANT= yes
|
|
ALL_TARGET= jarall
|
|
|
|
WRKSRC= ${WRKDIR}/BeanShell-${PORTVERSION:S/.b/b/}
|
|
|
|
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>
|