mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 19:36:28 -04:00
New port edonkey-gui-gtk version 0.1.0: GTK GUI to eDonkey2000
'core' command line client Reviewed by: pat
This commit is contained in:
parent
528b275fca
commit
305840f7d2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53578
19 changed files with 358 additions and 0 deletions
61
net-p2p/edonkey-gui-gtk/Makefile
Normal file
61
net-p2p/edonkey-gui-gtk/Makefile
Normal file
|
@ -0,0 +1,61 @@
|
|||
# New ports collection makefile for: eDonkey2000 GTK GUI for 'core' client
|
||||
# Date created: Fri Jan 4 22:44:56 BRST 2002
|
||||
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= edonkey
|
||||
PORTVERSION= 0.1.0
|
||||
CATEGORIES= net linux
|
||||
MASTER_SITES= http://www.edonkey2000.com/files/
|
||||
DISTNAME= ed2k_linux_gui_0.1alpha
|
||||
PKGNAMESUFFIX= -gui-gtk
|
||||
|
||||
MAINTAINER= lioux@FreeBSD.org
|
||||
|
||||
RUN_DEPENDS= donkey:${PORTSDIR}/net/edonkey-core \
|
||||
${LINUXBASE}/usr/lib/libgtk-1.2.so.0:${PORTSDIR}/x11-toolkits/linux-gtk
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
USE_LINUX= yes
|
||||
WRKSRC= ${WRKDIR}/linux_gui_alpha
|
||||
NO_BUILD= yes
|
||||
STRIP=
|
||||
|
||||
STRIP_CMD= ${LINUXBASE}/usr/bin/strip
|
||||
|
||||
DATA_FILES= gui_lookuplist gui_options
|
||||
|
||||
.if exists(/usr/bin/brandelf)
|
||||
BRANDELF?= /usr/bin/brandelf
|
||||
.else
|
||||
BRANDELF?= brandelf
|
||||
.endif
|
||||
|
||||
BINARY_NAME= ed2k_gui
|
||||
|
||||
post-patch:
|
||||
@${SED} -e "s|%%PREFIX%%|${PREFIX}|;s|%%DATADIR%%|${DATADIR}|; \
|
||||
s|%%DATAFILES%%|${DATA_FILES}|" \
|
||||
${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh
|
||||
|
||||
pre-install:
|
||||
.if exists(${STRIP_CMD})
|
||||
@${STRIP_CMD} ${WRKSRC}/${BINARY_NAME}
|
||||
.endif
|
||||
@${BRANDELF} -t Linux ${WRKSRC}/${BINARY_NAME}
|
||||
|
||||
do-install:
|
||||
.ifndef(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/todo.txt ${DOCSDIR}
|
||||
.endif
|
||||
${MKDIR} ${DATADIR}
|
||||
.for file in ${DATA_FILES}
|
||||
${INSTALL_DATA} ${WRKSRC}/${file} ${DATADIR}
|
||||
.endfor
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${BINARY_NAME} ${PREFIX}/bin/${BINARY_NAME}-real
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/${BINARY_NAME}
|
||||
|
||||
.include <bsd.port.mk>
|
1
net-p2p/edonkey-gui-gtk/distinfo
Normal file
1
net-p2p/edonkey-gui-gtk/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (ed2k_linux_gui_0.1alpha.tar.gz) = 24b3b520980fdeb718bb84841c5bb03a
|
34
net-p2p/edonkey-gui-gtk/files/wrapper.sh
Normal file
34
net-p2p/edonkey-gui-gtk/files/wrapper.sh
Normal file
|
@ -0,0 +1,34 @@
|
|||
#!/bin/sh
|
||||
|
||||
PREFIX="%%PREFIX%%"
|
||||
PROGRAM="${0}"
|
||||
DIRNAME=${HOME}/.edonkey2000-gui-gtk
|
||||
DATADIR="%%DATADIR%%"
|
||||
DATAFILES="%%DATAFILES%%"
|
||||
|
||||
if [ ${#} -gt 1 ]
|
||||
then
|
||||
shift
|
||||
fi
|
||||
|
||||
if [ ! -d ${DIRNAME} ]
|
||||
then
|
||||
mkdir -p ${DIRNAME}
|
||||
fi
|
||||
|
||||
if [ ! -h ${DIRNAME}/${PROGRAM##*/} ]
|
||||
then
|
||||
ln -sf ${PREFIX}/bin/${PROGRAM##*/}-real ${DIRNAME}/${PROGRAM##*/}
|
||||
for file in ${DATAFILES}
|
||||
do
|
||||
ln -sf "${DATADIR}/${file}" "${DIRNAME}/${file}"
|
||||
done
|
||||
fi
|
||||
|
||||
echo " ${*} " | grep " \-createdironly " ||
|
||||
{
|
||||
cd ${DIRNAME} &&
|
||||
echo Running under ${DIRNAME} &&
|
||||
exec ./${PROGRAM##*/} ${*} ||
|
||||
echo PROBLEM. Cannot create directory ${DIRNAME}, make sure you have the proper permissions to create it and try again
|
||||
}
|
1
net-p2p/edonkey-gui-gtk/pkg-comment
Normal file
1
net-p2p/edonkey-gui-gtk/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
GTK GUI to eDonkey2000 'core' command line client
|
15
net-p2p/edonkey-gui-gtk/pkg-descr
Normal file
15
net-p2p/edonkey-gui-gtk/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 http://www.edonkey2000.com/ and the WWW site below.
|
||||
|
||||
WWW: http://users.aber.ac.uk/tpm01/guihome.html
|
7
net-p2p/edonkey-gui-gtk/pkg-plist
Normal file
7
net-p2p/edonkey-gui-gtk/pkg-plist
Normal file
|
@ -0,0 +1,7 @@
|
|||
bin/ed2k_gui
|
||||
bin/ed2k_gui-real
|
||||
%%PORTDOCS%%share/doc/edonkey/todo.txt
|
||||
share/edonkey/gui_lookuplist
|
||||
share/edonkey/gui_options
|
||||
@dirrm share/edonkey
|
||||
%%PORTDOCS%%@dirrm share/doc/edonkey
|
|
@ -93,6 +93,7 @@
|
|||
SUBDIR += easysoap
|
||||
SUBDIR += echoping
|
||||
SUBDIR += edonkey-core
|
||||
SUBDIR += edonkey-gui-gtk
|
||||
SUBDIR += edonkey-gui-java
|
||||
SUBDIR += ehnt
|
||||
SUBDIR += etherape
|
||||
|
|
61
net/edonkey-gui-gtk/Makefile
Normal file
61
net/edonkey-gui-gtk/Makefile
Normal file
|
@ -0,0 +1,61 @@
|
|||
# New ports collection makefile for: eDonkey2000 GTK GUI for 'core' client
|
||||
# Date created: Fri Jan 4 22:44:56 BRST 2002
|
||||
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= edonkey
|
||||
PORTVERSION= 0.1.0
|
||||
CATEGORIES= net linux
|
||||
MASTER_SITES= http://www.edonkey2000.com/files/
|
||||
DISTNAME= ed2k_linux_gui_0.1alpha
|
||||
PKGNAMESUFFIX= -gui-gtk
|
||||
|
||||
MAINTAINER= lioux@FreeBSD.org
|
||||
|
||||
RUN_DEPENDS= donkey:${PORTSDIR}/net/edonkey-core \
|
||||
${LINUXBASE}/usr/lib/libgtk-1.2.so.0:${PORTSDIR}/x11-toolkits/linux-gtk
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
USE_LINUX= yes
|
||||
WRKSRC= ${WRKDIR}/linux_gui_alpha
|
||||
NO_BUILD= yes
|
||||
STRIP=
|
||||
|
||||
STRIP_CMD= ${LINUXBASE}/usr/bin/strip
|
||||
|
||||
DATA_FILES= gui_lookuplist gui_options
|
||||
|
||||
.if exists(/usr/bin/brandelf)
|
||||
BRANDELF?= /usr/bin/brandelf
|
||||
.else
|
||||
BRANDELF?= brandelf
|
||||
.endif
|
||||
|
||||
BINARY_NAME= ed2k_gui
|
||||
|
||||
post-patch:
|
||||
@${SED} -e "s|%%PREFIX%%|${PREFIX}|;s|%%DATADIR%%|${DATADIR}|; \
|
||||
s|%%DATAFILES%%|${DATA_FILES}|" \
|
||||
${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh
|
||||
|
||||
pre-install:
|
||||
.if exists(${STRIP_CMD})
|
||||
@${STRIP_CMD} ${WRKSRC}/${BINARY_NAME}
|
||||
.endif
|
||||
@${BRANDELF} -t Linux ${WRKSRC}/${BINARY_NAME}
|
||||
|
||||
do-install:
|
||||
.ifndef(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/todo.txt ${DOCSDIR}
|
||||
.endif
|
||||
${MKDIR} ${DATADIR}
|
||||
.for file in ${DATA_FILES}
|
||||
${INSTALL_DATA} ${WRKSRC}/${file} ${DATADIR}
|
||||
.endfor
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${BINARY_NAME} ${PREFIX}/bin/${BINARY_NAME}-real
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/${BINARY_NAME}
|
||||
|
||||
.include <bsd.port.mk>
|
1
net/edonkey-gui-gtk/distinfo
Normal file
1
net/edonkey-gui-gtk/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (ed2k_linux_gui_0.1alpha.tar.gz) = 24b3b520980fdeb718bb84841c5bb03a
|
34
net/edonkey-gui-gtk/files/wrapper.sh
Normal file
34
net/edonkey-gui-gtk/files/wrapper.sh
Normal file
|
@ -0,0 +1,34 @@
|
|||
#!/bin/sh
|
||||
|
||||
PREFIX="%%PREFIX%%"
|
||||
PROGRAM="${0}"
|
||||
DIRNAME=${HOME}/.edonkey2000-gui-gtk
|
||||
DATADIR="%%DATADIR%%"
|
||||
DATAFILES="%%DATAFILES%%"
|
||||
|
||||
if [ ${#} -gt 1 ]
|
||||
then
|
||||
shift
|
||||
fi
|
||||
|
||||
if [ ! -d ${DIRNAME} ]
|
||||
then
|
||||
mkdir -p ${DIRNAME}
|
||||
fi
|
||||
|
||||
if [ ! -h ${DIRNAME}/${PROGRAM##*/} ]
|
||||
then
|
||||
ln -sf ${PREFIX}/bin/${PROGRAM##*/}-real ${DIRNAME}/${PROGRAM##*/}
|
||||
for file in ${DATAFILES}
|
||||
do
|
||||
ln -sf "${DATADIR}/${file}" "${DIRNAME}/${file}"
|
||||
done
|
||||
fi
|
||||
|
||||
echo " ${*} " | grep " \-createdironly " ||
|
||||
{
|
||||
cd ${DIRNAME} &&
|
||||
echo Running under ${DIRNAME} &&
|
||||
exec ./${PROGRAM##*/} ${*} ||
|
||||
echo PROBLEM. Cannot create directory ${DIRNAME}, make sure you have the proper permissions to create it and try again
|
||||
}
|
1
net/edonkey-gui-gtk/pkg-comment
Normal file
1
net/edonkey-gui-gtk/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
GTK GUI to eDonkey2000 'core' command line client
|
15
net/edonkey-gui-gtk/pkg-descr
Normal file
15
net/edonkey-gui-gtk/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 http://www.edonkey2000.com/ and the WWW site below.
|
||||
|
||||
WWW: http://users.aber.ac.uk/tpm01/guihome.html
|
7
net/edonkey-gui-gtk/pkg-plist
Normal file
7
net/edonkey-gui-gtk/pkg-plist
Normal file
|
@ -0,0 +1,7 @@
|
|||
bin/ed2k_gui
|
||||
bin/ed2k_gui-real
|
||||
%%PORTDOCS%%share/doc/edonkey/todo.txt
|
||||
share/edonkey/gui_lookuplist
|
||||
share/edonkey/gui_options
|
||||
@dirrm share/edonkey
|
||||
%%PORTDOCS%%@dirrm share/doc/edonkey
|
61
net/linux-edonkey-gui-gtk/Makefile
Normal file
61
net/linux-edonkey-gui-gtk/Makefile
Normal file
|
@ -0,0 +1,61 @@
|
|||
# New ports collection makefile for: eDonkey2000 GTK GUI for 'core' client
|
||||
# Date created: Fri Jan 4 22:44:56 BRST 2002
|
||||
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= edonkey
|
||||
PORTVERSION= 0.1.0
|
||||
CATEGORIES= net linux
|
||||
MASTER_SITES= http://www.edonkey2000.com/files/
|
||||
DISTNAME= ed2k_linux_gui_0.1alpha
|
||||
PKGNAMESUFFIX= -gui-gtk
|
||||
|
||||
MAINTAINER= lioux@FreeBSD.org
|
||||
|
||||
RUN_DEPENDS= donkey:${PORTSDIR}/net/edonkey-core \
|
||||
${LINUXBASE}/usr/lib/libgtk-1.2.so.0:${PORTSDIR}/x11-toolkits/linux-gtk
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
USE_LINUX= yes
|
||||
WRKSRC= ${WRKDIR}/linux_gui_alpha
|
||||
NO_BUILD= yes
|
||||
STRIP=
|
||||
|
||||
STRIP_CMD= ${LINUXBASE}/usr/bin/strip
|
||||
|
||||
DATA_FILES= gui_lookuplist gui_options
|
||||
|
||||
.if exists(/usr/bin/brandelf)
|
||||
BRANDELF?= /usr/bin/brandelf
|
||||
.else
|
||||
BRANDELF?= brandelf
|
||||
.endif
|
||||
|
||||
BINARY_NAME= ed2k_gui
|
||||
|
||||
post-patch:
|
||||
@${SED} -e "s|%%PREFIX%%|${PREFIX}|;s|%%DATADIR%%|${DATADIR}|; \
|
||||
s|%%DATAFILES%%|${DATA_FILES}|" \
|
||||
${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh
|
||||
|
||||
pre-install:
|
||||
.if exists(${STRIP_CMD})
|
||||
@${STRIP_CMD} ${WRKSRC}/${BINARY_NAME}
|
||||
.endif
|
||||
@${BRANDELF} -t Linux ${WRKSRC}/${BINARY_NAME}
|
||||
|
||||
do-install:
|
||||
.ifndef(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/todo.txt ${DOCSDIR}
|
||||
.endif
|
||||
${MKDIR} ${DATADIR}
|
||||
.for file in ${DATA_FILES}
|
||||
${INSTALL_DATA} ${WRKSRC}/${file} ${DATADIR}
|
||||
.endfor
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${BINARY_NAME} ${PREFIX}/bin/${BINARY_NAME}-real
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/${BINARY_NAME}
|
||||
|
||||
.include <bsd.port.mk>
|
1
net/linux-edonkey-gui-gtk/distinfo
Normal file
1
net/linux-edonkey-gui-gtk/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (ed2k_linux_gui_0.1alpha.tar.gz) = 24b3b520980fdeb718bb84841c5bb03a
|
34
net/linux-edonkey-gui-gtk/files/wrapper.sh
Normal file
34
net/linux-edonkey-gui-gtk/files/wrapper.sh
Normal file
|
@ -0,0 +1,34 @@
|
|||
#!/bin/sh
|
||||
|
||||
PREFIX="%%PREFIX%%"
|
||||
PROGRAM="${0}"
|
||||
DIRNAME=${HOME}/.edonkey2000-gui-gtk
|
||||
DATADIR="%%DATADIR%%"
|
||||
DATAFILES="%%DATAFILES%%"
|
||||
|
||||
if [ ${#} -gt 1 ]
|
||||
then
|
||||
shift
|
||||
fi
|
||||
|
||||
if [ ! -d ${DIRNAME} ]
|
||||
then
|
||||
mkdir -p ${DIRNAME}
|
||||
fi
|
||||
|
||||
if [ ! -h ${DIRNAME}/${PROGRAM##*/} ]
|
||||
then
|
||||
ln -sf ${PREFIX}/bin/${PROGRAM##*/}-real ${DIRNAME}/${PROGRAM##*/}
|
||||
for file in ${DATAFILES}
|
||||
do
|
||||
ln -sf "${DATADIR}/${file}" "${DIRNAME}/${file}"
|
||||
done
|
||||
fi
|
||||
|
||||
echo " ${*} " | grep " \-createdironly " ||
|
||||
{
|
||||
cd ${DIRNAME} &&
|
||||
echo Running under ${DIRNAME} &&
|
||||
exec ./${PROGRAM##*/} ${*} ||
|
||||
echo PROBLEM. Cannot create directory ${DIRNAME}, make sure you have the proper permissions to create it and try again
|
||||
}
|
1
net/linux-edonkey-gui-gtk/pkg-comment
Normal file
1
net/linux-edonkey-gui-gtk/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
GTK GUI to eDonkey2000 'core' command line client
|
15
net/linux-edonkey-gui-gtk/pkg-descr
Normal file
15
net/linux-edonkey-gui-gtk/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 http://www.edonkey2000.com/ and the WWW site below.
|
||||
|
||||
WWW: http://users.aber.ac.uk/tpm01/guihome.html
|
7
net/linux-edonkey-gui-gtk/pkg-plist
Normal file
7
net/linux-edonkey-gui-gtk/pkg-plist
Normal file
|
@ -0,0 +1,7 @@
|
|||
bin/ed2k_gui
|
||||
bin/ed2k_gui-real
|
||||
%%PORTDOCS%%share/doc/edonkey/todo.txt
|
||||
share/edonkey/gui_lookuplist
|
||||
share/edonkey/gui_options
|
||||
@dirrm share/edonkey
|
||||
%%PORTDOCS%%@dirrm share/doc/edonkey
|
Loading…
Add table
Reference in a new issue