summaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2003-10-13 09:30:23 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2003-10-13 09:30:23 +0000
commitb92af40b22ac60cefb1d96166beaae7da9d7cf04 (patch)
treed053b817e64a693a13c61cdca75b44edefaf8ee5 /ftp
parentXemacs seems to be generally broken on sparc64. Add NOT_FOR_ARCHS=sparc64 (diff)
Upgrade to 57907.
PR: ports/57907 Submitted by: Stefan Walter <sw@gegenunendlich.de>
Notes
Notes: svn path=/head/; revision=91007
Diffstat (limited to 'ftp')
-rw-r--r--ftp/jftp/Makefile9
-rw-r--r--ftp/jftp/distinfo2
-rw-r--r--ftp/jftp/files/jftp2
3 files changed, 9 insertions, 4 deletions
diff --git a/ftp/jftp/Makefile b/ftp/jftp/Makefile
index 515a56ff7a5b..c4ffe732bcf1 100644
--- a/ftp/jftp/Makefile
+++ b/ftp/jftp/Makefile
@@ -7,10 +7,11 @@
#
PORTNAME= jftp
-PORTVERSION= 1.30
+PORTVERSION= 1.38
CATEGORIES= ftp
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= j-ftp
+DISTNAME= j-ftp-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Java Network Browser
@@ -19,8 +20,12 @@ WRKSRC= ${WRKDIR}/j-ftp
USE_JAVA= 1.3+
NO_BUILD= yes
+JAVAVM= ${LOCALBASE}/bin/javavm
+
post-patch:
- @${SED} 's,%%DATADIR%%,${DATADIR},' ${FILESDIR}/jftp > ${WRKSRC}/jftp
+ @${SED} -e "s,%%DATADIR%%,${DATADIR},; \
+ s,%%JAVAVM%%,${JAVAVM}," \
+ ${FILESDIR}/jftp > ${WRKSRC}/jftp
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/jftp ${PREFIX}/bin
diff --git a/ftp/jftp/distinfo b/ftp/jftp/distinfo
index 95b7d13faecf..6605fff51c11 100644
--- a/ftp/jftp/distinfo
+++ b/ftp/jftp/distinfo
@@ -1 +1 @@
-MD5 (jftp-1.30.tar.gz) = 681f59a26ee6b84e0b860b1c6d70a818
+MD5 (j-ftp-1.38.tar.gz) = 1ce252ad105c268fce0410b91a64b2a3
diff --git a/ftp/jftp/files/jftp b/ftp/jftp/files/jftp
index c7302d0387d2..bec7b24dd02f 100644
--- a/ftp/jftp/files/jftp
+++ b/ftp/jftp/files/jftp
@@ -1,3 +1,3 @@
#!/bin/sh
-java -jar %%DATADIR%%/jftp.jar
+%%JAVAVM%% -jar %%DATADIR%%/jftp.jar