1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

New port edonkey-gui-java version 1.0.2: Java GUI to eDonkey2000

'core' command line client

Reviewed by:	pat
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2002-01-22 15:51:11 +00:00
parent a24eab08cd
commit 4139356a98
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53575
7 changed files with 78 additions and 0 deletions

View File

@ -93,6 +93,7 @@
SUBDIR += easysoap
SUBDIR += echoping
SUBDIR += edonkey-core
SUBDIR += edonkey-gui-java
SUBDIR += ehnt
SUBDIR += etherape
SUBDIR += etherboot

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (ed2k_1.jar) = e64a3a7aaf5a3f16821fd92882dbe30b

View File

@ -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} $*

View File

@ -0,0 +1 @@
Java GUI to eDonkey2000 'core' command line client

View File

@ -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/

View File

@ -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