diff options
author | lioux <lioux@FreeBSD.org> | 2002-01-22 23:51:11 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2002-01-22 23:51:11 +0800 |
commit | 7badcd5adbee860e467656eb9ae34d34950337cc (patch) | |
tree | 7c3c667acd7ede4ffc36a5a19908845edcfab618 /net | |
parent | 1626bd72f3362a9e097b36972828770764ceb6d8 (diff) | |
download | freebsd-ports-gnome-7badcd5adbee860e467656eb9ae34d34950337cc.tar.gz freebsd-ports-gnome-7badcd5adbee860e467656eb9ae34d34950337cc.tar.zst freebsd-ports-gnome-7badcd5adbee860e467656eb9ae34d34950337cc.zip |
New port edonkey-gui-java version 1.0.2: Java GUI to eDonkey2000
'core' command line client
Reviewed by: pat
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/edonkey-gui-java/Makefile | 47 | ||||
-rw-r--r-- | net/edonkey-gui-java/distinfo | 1 | ||||
-rw-r--r-- | net/edonkey-gui-java/files/wrapper.sh | 8 | ||||
-rw-r--r-- | net/edonkey-gui-java/pkg-comment | 1 | ||||
-rw-r--r-- | net/edonkey-gui-java/pkg-descr | 15 | ||||
-rw-r--r-- | net/edonkey-gui-java/pkg-plist | 5 |
7 files changed, 78 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 49aaa93f94bd..5c498be18da7 100644 --- a/net/Makefile +++ b/net/Makefile @@ -93,6 +93,7 @@ SUBDIR += easysoap SUBDIR += echoping SUBDIR += edonkey-core + SUBDIR += edonkey-gui-java SUBDIR += ehnt SUBDIR += etherape SUBDIR += etherboot diff --git a/net/edonkey-gui-java/Makefile b/net/edonkey-gui-java/Makefile new file mode 100644 index 000000000000..1523a45a870a --- /dev/null +++ b/net/edonkey-gui-java/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: eDonkey2000 Java GUI for 'core' client +# Date created: Fri Jan 4 23:59:44 BRST 2002 +# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= edonkey +PORTVERSION= 1.0.2 +CATEGORIES= net java +MASTER_SITES= http://www.edonkey2000.com/files/ +PKGNAMESUFFIX= -gui-java +DISTNAME= ed2k_1 +EXTRACT_SUFX= .jar +EXTRACT_ONLY= + +MAINTAINER= lioux@FreeBSD.org + +RUN_DEPENDS= donkey:${PORTSDIR}/net/edonkey-core \ + ${JAVAVM}:${PORTSDIR}/java/javavmwrapper \ + ${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jre \ + ${LOCALBASE}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk13 + +NO_BUILD= yes +PLIST_SUB= JAR_DIR=${JAR_DIR} \ + JAR_FILE=${JAR_FILE} \ + WRAPPER=${PORTNAME}${PKGNAMESUFFIX} + +JDK_VERSION= 1.3.1 +JAVAVM= ${LOCALBASE}/bin/javavm +JAR_DIR= share/java/jar/${PORTNAME} + +post-patch: + @${SED} -e "s|%%JAR_DIR%%|${JAR_DIR}|;s|%%JAR_FILE%%|${JAR_FILE}|; \ + s|%%JAVAVM%%|${JAVAVM}|;s|%%PREFIX%%|${PREFIX}|" \ + ${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh + +do-install: + @${MKDIR} ${PREFIX}/${JAR_DIR} + @${INSTALL_DATA} ${DISTDIR}/${JAR_FILE} ${PREFIX}/${JAR_DIR} + @${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX} + +.include <bsd.port.pre.mk> + +JAR_FILE= ${DISTNAME}.jar + +.include <bsd.port.post.mk> diff --git a/net/edonkey-gui-java/distinfo b/net/edonkey-gui-java/distinfo new file mode 100644 index 000000000000..4b911b785f0f --- /dev/null +++ b/net/edonkey-gui-java/distinfo @@ -0,0 +1 @@ +MD5 (ed2k_1.jar) = e64a3a7aaf5a3f16821fd92882dbe30b diff --git a/net/edonkey-gui-java/files/wrapper.sh b/net/edonkey-gui-java/files/wrapper.sh new file mode 100644 index 000000000000..aab757cc6841 --- /dev/null +++ b/net/edonkey-gui-java/files/wrapper.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +PREFIX="%%PREFIX%%" +JAVAVM="%%JAVAVM%%" +JAR_DIR="%%JAR_DIR%%" +JAR_FILE="%%JAR_FILE%%" + +${JAVAVM} -jar ${PREFIX}/${JAR_DIR}/${JAR_FILE} $* diff --git a/net/edonkey-gui-java/pkg-comment b/net/edonkey-gui-java/pkg-comment new file mode 100644 index 000000000000..419473289905 --- /dev/null +++ b/net/edonkey-gui-java/pkg-comment @@ -0,0 +1 @@ +Java GUI to eDonkey2000 'core' command line client diff --git a/net/edonkey-gui-java/pkg-descr b/net/edonkey-gui-java/pkg-descr new file mode 100644 index 000000000000..dcd8215c0b98 --- /dev/null +++ b/net/edonkey-gui-java/pkg-descr @@ -0,0 +1,15 @@ +[ excerpt from Developer's site] + +This is a user interface to tell eDonkey2000 'core' what to do (ie. +connect to servers, do searches, download stuff). The core comes +with a very simple text interface (=command line client), where you +can tell it what to do by typing in commands. Most people do not +find this very convenient and rather have a window with lists and +buttons to click. The 'GUI' is a separate program which connect to +the core via a TCP connection and tells it what to do. Likewise, +the core sends messages to the GUI when something happens (eg. a +download has finished), so the GUI can present this to the user. + +Check the WWW site below. + +WWW: http://www.edonkey2000.com/ diff --git a/net/edonkey-gui-java/pkg-plist b/net/edonkey-gui-java/pkg-plist new file mode 100644 index 000000000000..000c9f5c2f4f --- /dev/null +++ b/net/edonkey-gui-java/pkg-plist @@ -0,0 +1,5 @@ +bin/%%WRAPPER%% +%%JAR_DIR%%/%%JAR_FILE%% +@dirrm %%JAR_DIR%% +@unexec rmdir %D/share/java/jar 2>/dev/null || true +@unexec rmdir %D/share/java 2>/dev/null || true |