1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Fix location to install .jar file(s).

- Bump PORTREVISION.

Approved by:	gabor (mentor, implicit)
This commit is contained in:
Felippe de Meirelles Motta 2008-06-24 09:01:56 +00:00
parent 19d2a8dc4a
commit a04bf76edb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=215673

View File

@ -7,7 +7,7 @@
PORTNAME= bsh
PORTVERSION= 2.0.b4
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= lang java
MASTER_SITES= http://www.beanshell.org/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/b/}
@ -21,19 +21,15 @@ 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 \
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar \
bin/${PORTNAME}
PLIST_DIRS= %%DATADIR%%
PLIST_DIRS= %%JAVAJARDIR%%
do-install:
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${DISTDIR}/${DISTFILES} \
${DATADIR}/${PORTNAME}.jar
${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${JAVAJARDIR}/${PORTNAME}.jar
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>