aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-11-21 19:33:32 +0800
committermiwi <miwi@FreeBSD.org>2009-11-21 19:33:32 +0800
commiteabf7c230f87dc1b095098e8abffe12e78400bf1 (patch)
treedf8f51acbbc6026cbafabf8adcff253adda84eeb /ftp
parentc826f260840e5bbfc48e9f8466e012cfc6c1f793 (diff)
downloadfreebsd-ports-graphics-eabf7c230f87dc1b095098e8abffe12e78400bf1.tar.gz
freebsd-ports-graphics-eabf7c230f87dc1b095098e8abffe12e78400bf1.tar.zst
freebsd-ports-graphics-eabf7c230f87dc1b095098e8abffe12e78400bf1.zip
- Update to 0.24
PR: 140423 Submitted by: Radim Kolar SF.NET <hsn@sendmail.cz>
Diffstat (limited to 'ftp')
-rw-r--r--ftp/dmachine/Makefile16
-rw-r--r--ftp/dmachine/distinfo6
-rw-r--r--ftp/dmachine/files/dmachine.sh.in2
-rw-r--r--ftp/dmachine/pkg-plist19
4 files changed, 12 insertions, 31 deletions
diff --git a/ftp/dmachine/Makefile b/ftp/dmachine/Makefile
index 87e7c56265d..bf21f9983e5 100644
--- a/ftp/dmachine/Makefile
+++ b/ftp/dmachine/Makefile
@@ -7,11 +7,9 @@
#
PORTNAME= dmachine
-PORTVERSION= 0.22
-PORTREVISION= 2
+PORTVERSION= 0.24
CATEGORIES= ftp java
MASTER_SITES= SF
-DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//}
MAINTAINER= ports@FreeBSD.org
COMMENT= A non interactive, non graphical, batch download manager
@@ -19,20 +17,18 @@ COMMENT= A non interactive, non graphical, batch download manager
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
USE_JAVA= yes
-WRKSRC= ${WRKDIR}/${DISTNAME}/src
-ALL_TARGET= dmachine
-MAKE_ARGS= JAVAC="${JAVAC}"
+NO_BUILD= yes
SUB_FILES= dmachine.sh
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/dmachine.sh ${PREFIX}/bin/dmachine
@${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/*.class ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/dmachine-${PORTVERSION}.jar ${PREFIX}/share/java/classes/dmachine.jar
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/../README ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/../NEWS ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/../dmachine.cnf ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/dmachine.cnf ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/ftp/dmachine/distinfo b/ftp/dmachine/distinfo
index 2880f9983ee..d91764e0c3a 100644
--- a/ftp/dmachine/distinfo
+++ b/ftp/dmachine/distinfo
@@ -1,3 +1,3 @@
-MD5 (dmachine-022.tar.gz) = 7704b91ee6e493e24fbd6f94826e2218
-SHA256 (dmachine-022.tar.gz) = 6f3db25755cb799134c53155a7fad4399e8d8dee3e086183a019153ba5deaf56
-SIZE (dmachine-022.tar.gz) = 33226
+MD5 (dmachine-0.24.tar.gz) = 17f0cebe6f9dcb1927b4ba711121a843
+SHA256 (dmachine-0.24.tar.gz) = 7f8fe7c03eba74e9627cf97e09d822b8b768ad20279cfdd0390c7b1b53d2d899
+SIZE (dmachine-0.24.tar.gz) = 84614
diff --git a/ftp/dmachine/files/dmachine.sh.in b/ftp/dmachine/files/dmachine.sh.in
index add5c9385ec..94f60317df1 100644
--- a/ftp/dmachine/files/dmachine.sh.in
+++ b/ftp/dmachine/files/dmachine.sh.in
@@ -2,4 +2,4 @@
#
# $FreeBSD$
-"%%LOCALBASE%%/bin/java" -cp "%%DATADIR%%" dmachine
+"%%LOCALBASE%%/bin/java" -jar "%%PREFIX%%/share/java/classes/dmachine.jar" $*
diff --git a/ftp/dmachine/pkg-plist b/ftp/dmachine/pkg-plist
index 4491b0985ce..a864833f00e 100644
--- a/ftp/dmachine/pkg-plist
+++ b/ftp/dmachine/pkg-plist
@@ -1,22 +1,7 @@
bin/dmachine
-%%DATADIR%%/FSPInputStream.class
-%%DATADIR%%/FSPStreamHandler.class
-%%DATADIR%%/FSPURLConnection.class
-%%DATADIR%%/FSPpacket.class
-%%DATADIR%%/FSPsession.class
-%%DATADIR%%/FSPstat.class
-%%DATADIR%%/FSPutil.class
-%%DATADIR%%/HTUU.class
-%%DATADIR%%/dmachine.class
-%%DATADIR%%/downloadfactory.class
-%%DATADIR%%/fspfactory.class
-%%DATADIR%%/ftpfactory.class
-%%DATADIR%%/qfile.class
-%%DATADIR%%/queuefile.class
-%%DATADIR%%/regexp.class
-%%DATADIR%%/util.class
-@dirrm %%DATADIR%%
+share/java/classes/dmachine.jar
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/dmachine.cnf
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm share/dmachine