aboutsummaryrefslogtreecommitdiff
path: root/net/jsch
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2004-12-31 11:14:19 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2004-12-31 11:14:19 +0000
commitd4530ab3b645105655cf11ef0bc87fe8a6540bc3 (patch)
tree5c40e6e43e7dca1884fa2a52ff7fe660ec79e2a6 /net/jsch
parent658ee6aadc15bf3906d42b7719f82567ae9c47a9 (diff)
downloadports-d4530ab3b645105655cf11ef0bc87fe8a6540bc3.tar.gz
ports-d4530ab3b645105655cf11ef0bc87fe8a6540bc3.zip
Notes
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>