aboutsummaryrefslogtreecommitdiffstats
path: root/net/jsch
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2004-12-31 19:14:19 +0800
committerlioux <lioux@FreeBSD.org>2004-12-31 19:14:19 +0800
commit20836ba57494eea8f6346da868c89daa657a4e78 (patch)
tree73f1a3e6991bad4fa81ad28247e00527bf6ba4c0 /net/jsch
parent38f3242dc921d6292b34293a767b5b2af8b99375 (diff)
downloadfreebsd-ports-gnome-20836ba57494eea8f6346da868c89daa657a4e78.tar.gz
freebsd-ports-gnome-20836ba57494eea8f6346da868c89daa657a4e78.tar.zst
freebsd-ports-gnome-20836ba57494eea8f6346da868c89daa657a4e78.zip
o Update to <bsd.java.mk> standard 2.0
o Bump PORTREVISION due to jar location changes Prompted by: hq
Diffstat (limited to 'net/jsch')
-rw-r--r--net/jsch/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/net/jsch/Makefile b/net/jsch/Makefile
index a9bb2ba1ca52..0f8d04e90881 100644
--- a/net/jsch/Makefile
+++ b/net/jsch/Makefile
@@ -7,30 +7,25 @@
PORTNAME= jsch
PORTVERSION= 0.1.18
+PORTREVISION= 1
CATEGORIES= net java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= ${PORTNAME}-${PORTVERSION}
EXTRACT_SUFX= .jar
EXTRACT_ONLY=
MAINTAINER= lioux@FreeBSD.org
COMMENT= A pure Java implementation of SSH2
-USE_JAVA= 1.4+
+USE_JAVA= yes
+JAVA_VERSION= 1.3+
NO_BUILD= yes
-NO_BUILD_DEPENDS_JAVA= yes
-
-JAVAVM= ${LOCALBASE}/bin/java
-JAR_DIR= share/java/jar/${PORTNAME}/
JAR_FILE= ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
-PLIST_FILES+= ${JAR_DIR}/${DISTNAME}${EXTRACT_SUFX}
-PLIST_DIRS+= ${JAR_DIR}
+PLIST_FILES+= %%JAVAJARDIR%%/${PORTNAME}.jar
do-install:
- @${MKDIR} ${PREFIX}/${JAR_DIR}
- @${INSTALL_DATA} ${JAR_FILE} ${PREFIX}/${JAR_DIR}
+ @${INSTALL_DATA} ${JAR_FILE} ${JAVAJARDIR}/${PORTNAME}.jar
.include <bsd.port.mk>