ports/57907: Update port: ftp/jftp to jftp-1.38

Stefan Walter sw at gegenunendlich.de
Sun Oct 12 18:10:23 UTC 2003


>Number:         57907
>Category:       ports
>Synopsis:       Update port: ftp/jftp to jftp-1.38
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 12 11:10:18 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Stefan Walter
>Release:        FreeBSD 5.1-RELEASE-p2 i386
>Organization:
Infinity Approximation Task Force
>Environment:
System: FreeBSD kyuzo.dunkelkammer.void 5.1-RELEASE-p2 FreeBSD 5.1-RELEASE-p2 #0: Wed Sep 24 11:41:19 CEST 2003 root at kyuzo.dunkelkammer.void:/usr/src/sys/i386/compile/KYUZO i386
>Description:
- Update ftp/jftp to version 1.38
- Change the wrapper script so it uses javavmwrapper
>How-To-Repeat:
Install the port.
>Fix:
--- jftp-1.38.patch begins here ---
diff -urN jftp.old/Makefile jftp/Makefile
--- jftp.old/Makefile	Sun Oct 12 19:26:34 2003
+++ jftp/Makefile	Sun Oct 12 19:52:29 2003
@@ -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 at FreeBSD.org
 COMMENT=	Java Network Browser
@@ -19,8 +20,12 @@
 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 -urN jftp.old/distinfo jftp/distinfo
--- jftp.old/distinfo	Sun Oct 12 19:26:34 2003
+++ jftp/distinfo	Sun Oct 12 19:26:56 2003
@@ -1 +1 @@
-MD5 (jftp-1.30.tar.gz) = 681f59a26ee6b84e0b860b1c6d70a818
+MD5 (j-ftp-1.38.tar.gz) = 1ce252ad105c268fce0410b91a64b2a3
diff -urN jftp.old/files/jftp jftp/files/jftp
--- jftp.old/files/jftp	Sun Oct 12 19:26:34 2003
+++ jftp/files/jftp	Sun Oct 12 19:53:51 2003
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-java -jar %%DATADIR%%/jftp.jar
+%%JAVAVM%% -jar %%DATADIR%%/jftp.jar
--- jftp-1.38.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list