aboutsummaryrefslogtreecommitdiffstats
path: root/lang/bsh/Makefile
diff options
context:
space:
mode:
authorlippe <lippe@FreeBSD.org>2008-06-24 17:01:56 +0800
committerlippe <lippe@FreeBSD.org>2008-06-24 17:01:56 +0800
commitc245c82d52a0c1a854da2c14d867b2d51cd6c78c (patch)
tree9f6190ae4458925c42a8d7a4643c89e08e5cb8a0 /lang/bsh/Makefile
parent69fe275678f070eb7e92afc28f4caa759c28d032 (diff)
downloadfreebsd-ports-gnome-c245c82d52a0c1a854da2c14d867b2d51cd6c78c.tar.gz
freebsd-ports-gnome-c245c82d52a0c1a854da2c14d867b2d51cd6c78c.tar.zst
freebsd-ports-gnome-c245c82d52a0c1a854da2c14d867b2d51cd6c78c.zip
- Fix location to install .jar file(s).
- Bump PORTREVISION. Approved by: gabor (mentor, implicit)
Diffstat (limited to 'lang/bsh/Makefile')
-rw-r--r--lang/bsh/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/lang/bsh/Makefile b/lang/bsh/Makefile
index df55283ec087..1a27e51f6392 100644
--- a/lang/bsh/Makefile
+++ b/lang/bsh/Makefile
@@ -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>