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:
parent
a24eab08cd
commit
4139356a98
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53575
@ -93,6 +93,7 @@
|
||||
SUBDIR += easysoap
|
||||
SUBDIR += echoping
|
||||
SUBDIR += edonkey-core
|
||||
SUBDIR += edonkey-gui-java
|
||||
SUBDIR += ehnt
|
||||
SUBDIR += etherape
|
||||
SUBDIR += etherboot
|
||||
|
47
net/edonkey-gui-java/Makefile
Normal file
47
net/edonkey-gui-java/Makefile
Normal 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>
|
1
net/edonkey-gui-java/distinfo
Normal file
1
net/edonkey-gui-java/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (ed2k_1.jar) = e64a3a7aaf5a3f16821fd92882dbe30b
|
8
net/edonkey-gui-java/files/wrapper.sh
Normal file
8
net/edonkey-gui-java/files/wrapper.sh
Normal 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} $*
|
1
net/edonkey-gui-java/pkg-comment
Normal file
1
net/edonkey-gui-java/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Java GUI to eDonkey2000 'core' command line client
|
15
net/edonkey-gui-java/pkg-descr
Normal file
15
net/edonkey-gui-java/pkg-descr
Normal 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/
|
5
net/edonkey-gui-java/pkg-plist
Normal file
5
net/edonkey-gui-java/pkg-plist
Normal 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
|
Loading…
Reference in New Issue
Block a user