diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-01-22 15:51:11 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-01-22 15:51:11 +0000 |
commit | 4139356a98abd646ed1b5cb64310a3a9e6862cef (patch) | |
tree | 2715610cd9654b0a56f659a7088d6466fc3f07bf /net/edonkey-gui-java | |
parent | o New port edonkey-core version 0.2000.15.16.58.0.2: eDonkey2000 (diff) |
New port edonkey-gui-java version 1.0.2: Java GUI to eDonkey2000
'core' command line client
Reviewed by: pat
Notes
Notes:
svn path=/head/; revision=53575
Diffstat (limited to 'net/edonkey-gui-java')
-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 |
6 files changed, 77 insertions, 0 deletions
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 |