diff options
Diffstat (limited to 'net/jsch')
-rw-r--r-- | net/jsch/Makefile | 15 |
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> |