mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Make this a slave port of ports/net/mldonkey one. This will enable
packages to be build containing only the MLDonkey GUI.
This commit is contained in:
parent
c3a7daad7a
commit
c328d32cad
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=83039
36 changed files with 30 additions and 624 deletions
|
@ -5,57 +5,11 @@
|
|||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= mldonkey
|
||||
PORTVERSION= 2.04.r1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://savannah.nongnu.org/download/mldonkey/release-2.04rc1/contributed/holger/
|
||||
PKGNAMESUFFIX= -gui
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/rc/}-0.shared.${ARCH}-${OPSYS}-hl
|
||||
# build only the GUI
|
||||
WITHOUT_CORE= yes
|
||||
|
||||
MAINTAINER= holger@e-gitt.net
|
||||
COMMENT= A OCAML/GTK GUI for the mldonkey peer-to-peer network client
|
||||
COMMENT= A OCAML/GTK GUI for the MLdonkey peer-to-peer network client
|
||||
|
||||
ONLY_FOR_ARCHS= i386 alpha
|
||||
USE_BZIP2= yes
|
||||
USE_GNOME= gtk12
|
||||
NO_BUILD= yes
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-distrib-${PORTVERSION:S/.r/rc/}-0
|
||||
MASTERDIR= ${.CURDIR}/../mldonkey
|
||||
|
||||
DIRNAME= ${HOME}/.mldonkey
|
||||
|
||||
post-patch:
|
||||
@${SED} -e "s|%%PREFIX%%|${PREFIX}|" ${FILESDIR}/wrapper.sh > \
|
||||
${WRKDIR}/wrapper.sh
|
||||
|
||||
do-install:
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/mldonkey_gui ${PREFIX}/bin
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/mldonkey+gui ${PREFIX}/bin/mldonkey+gui-real
|
||||
@if [ -e ${PREFIX}/bin/mldonkey ]; then \
|
||||
${LN} ${PREFIX}/bin/mldonkey ${PREFIX}/bin/mldonkey+gui; \
|
||||
else \
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/mldonkey+gui; \
|
||||
fi
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/mldonkey_gui2 ${PREFIX}/bin
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/mldonkey_previewer ${PREFIX}/bin
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/mldonkey_guistarter ${PREFIX}/bin
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/mlim ${PREFIX}/bin
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 500000
|
||||
LIB_DEPENDS+= c_r.4:${PORTSDIR}/misc/compat4x
|
||||
.endif
|
||||
|
||||
install-user: extract
|
||||
.if !defined(LANG)
|
||||
@${ECHO_MSG} "Please call as: make install-user LANG=<lang>"
|
||||
@${ECHO_MSG} "with <lang> one of en,de,fr,fr.noaccents,sp !"
|
||||
.else
|
||||
@${CP} ${WRKSRC}/i18n/gui_messages.ini.${LANG}\
|
||||
${HOME}/.mldonkey_gui_messages.ini
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
MD5 (mldonkey-2.04rc1-0.shared.alpha-FreeBSD-hl.tar.bz2) = 41dcb32d1d982de203388d83b18ff3c1
|
||||
MD5 (mldonkey-2.04rc1-0.shared.i386-FreeBSD-hl.tar.bz2) = af85d3aed07256e5c3568de2a25d25fb
|
|
@ -1,18 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
PREFIX="%%PREFIX%%/bin"
|
||||
PROGRAM="${0}"
|
||||
DIRNAME=${HOME}/.mldonkey
|
||||
|
||||
if [ ! -d ${DIRNAME} ]
|
||||
then
|
||||
mkdir -p ${DIRNAME}
|
||||
fi
|
||||
|
||||
echo " ${*} " | grep " \-createdironly " ||
|
||||
{
|
||||
cd ${DIRNAME} &&
|
||||
echo Running under ${DIRNAME} &&
|
||||
exec ${PREFIX}/${PROGRAM##*/}-real "${@}" ||
|
||||
echo PROBLEM. Cannot create directory ${DIRNAME}, make sure you have the proper permissions to create it and try again
|
||||
}
|
|
@ -5,57 +5,11 @@
|
|||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= mldonkey
|
||||
PORTVERSION= 2.04.r1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://savannah.nongnu.org/download/mldonkey/release-2.04rc1/contributed/holger/
|
||||
PKGNAMESUFFIX= -gui
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/rc/}-0.shared.${ARCH}-${OPSYS}-hl
|
||||
# build only the GUI
|
||||
WITHOUT_CORE= yes
|
||||
|
||||
MAINTAINER= holger@e-gitt.net
|
||||
COMMENT= A OCAML/GTK GUI for the mldonkey peer-to-peer network client
|
||||
COMMENT= A OCAML/GTK GUI for the MLdonkey peer-to-peer network client
|
||||
|
||||
ONLY_FOR_ARCHS= i386 alpha
|
||||
USE_BZIP2= yes
|
||||
USE_GNOME= gtk12
|
||||
NO_BUILD= yes
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-distrib-${PORTVERSION:S/.r/rc/}-0
|
||||
MASTERDIR= ${.CURDIR}/../mldonkey
|
||||
|
||||
DIRNAME= ${HOME}/.mldonkey
|
||||
|
||||
post-patch:
|
||||
@${SED} -e "s|%%PREFIX%%|${PREFIX}|" ${FILESDIR}/wrapper.sh > \
|
||||
${WRKDIR}/wrapper.sh
|
||||
|
||||
do-install:
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/mldonkey_gui ${PREFIX}/bin
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/mldonkey+gui ${PREFIX}/bin/mldonkey+gui-real
|
||||
@if [ -e ${PREFIX}/bin/mldonkey ]; then \
|
||||
${LN} ${PREFIX}/bin/mldonkey ${PREFIX}/bin/mldonkey+gui; \
|
||||
else \
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/mldonkey+gui; \
|
||||
fi
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/mldonkey_gui2 ${PREFIX}/bin
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/mldonkey_previewer ${PREFIX}/bin
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/mldonkey_guistarter ${PREFIX}/bin
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/mlim ${PREFIX}/bin
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 500000
|
||||
LIB_DEPENDS+= c_r.4:${PORTSDIR}/misc/compat4x
|
||||
.endif
|
||||
|
||||
install-user: extract
|
||||
.if !defined(LANG)
|
||||
@${ECHO_MSG} "Please call as: make install-user LANG=<lang>"
|
||||
@${ECHO_MSG} "with <lang> one of en,de,fr,fr.noaccents,sp !"
|
||||
.else
|
||||
@${CP} ${WRKSRC}/i18n/gui_messages.ini.${LANG}\
|
||||
${HOME}/.mldonkey_gui_messages.ini
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
MD5 (mldonkey-2.04rc1-0.shared.alpha-FreeBSD-hl.tar.bz2) = 41dcb32d1d982de203388d83b18ff3c1
|
||||
MD5 (mldonkey-2.04rc1-0.shared.i386-FreeBSD-hl.tar.bz2) = af85d3aed07256e5c3568de2a25d25fb
|
|
@ -1,18 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
PREFIX="%%PREFIX%%/bin"
|
||||
PROGRAM="${0}"
|
||||
DIRNAME=${HOME}/.mldonkey
|
||||
|
||||
if [ ! -d ${DIRNAME} ]
|
||||
then
|
||||
mkdir -p ${DIRNAME}
|
||||
fi
|
||||
|
||||
echo " ${*} " | grep " \-createdironly " ||
|
||||
{
|
||||
cd ${DIRNAME} &&
|
||||
echo Running under ${DIRNAME} &&
|
||||
exec ${PREFIX}/${PROGRAM##*/}-real "${@}" ||
|
||||
echo PROBLEM. Cannot create directory ${DIRNAME}, make sure you have the proper permissions to create it and try again
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
mldonkey is a OCAML/GTK client for both eDonkey and Overnet
|
||||
peer-to-peer networks.
|
||||
(see http://www.edonkey2000.com/ and the 'edonkey' ports)
|
||||
(see http://www.overnet.com/)
|
||||
|
||||
This is the official GTK GUI that comes along with the port.
|
||||
Like all other control methods (telnet, web), it can run on
|
||||
another box than the client does.
|
||||
|
||||
Other features over the original eDonkey client are:
|
||||
- better stability
|
||||
- faster operation
|
||||
- much better control
|
||||
- saves its current state, checksums and known peers
|
||||
(instead of starting from scratch every time)
|
||||
|
||||
WWW: http://www.freesoftware.fsf.org/mldonkey/
|
|
@ -1,9 +0,0 @@
|
|||
ATTENTIONATTENTION:
|
||||
|
||||
- If this is the first time you install mldonkey,
|
||||
please go to the mldonkey-gui port's dir as the user who will run
|
||||
mldonkey and enter:
|
||||
|
||||
make install-user
|
||||
|
||||
this will set up your user config.
|
|
@ -1,7 +0,0 @@
|
|||
bin/mldonkey_gui
|
||||
bin/mldonkey_gui2
|
||||
bin/mldonkey+gui
|
||||
bin/mldonkey+gui-real
|
||||
bin/mldonkey_previewer
|
||||
bin/mldonkey_guistarter
|
||||
bin/mlim
|
|
@ -1,17 +0,0 @@
|
|||
mldonkey is a OCAML/GTK client for both eDonkey and Overnet
|
||||
peer-to-peer networks.
|
||||
(see http://www.edonkey2000.com/ and the 'edonkey' ports)
|
||||
(see http://www.overnet.com/)
|
||||
|
||||
This is the official GTK GUI that comes along with the port.
|
||||
Like all other control methods (telnet, web), it can run on
|
||||
another box than the client does.
|
||||
|
||||
Other features over the original eDonkey client are:
|
||||
- better stability
|
||||
- faster operation
|
||||
- much better control
|
||||
- saves its current state, checksums and known peers
|
||||
(instead of starting from scratch every time)
|
||||
|
||||
WWW: http://www.freesoftware.fsf.org/mldonkey/
|
|
@ -1,9 +0,0 @@
|
|||
ATTENTIONATTENTION:
|
||||
|
||||
- If this is the first time you install mldonkey,
|
||||
please go to the mldonkey-gui port's dir as the user who will run
|
||||
mldonkey and enter:
|
||||
|
||||
make install-user
|
||||
|
||||
this will set up your user config.
|
|
@ -1,7 +0,0 @@
|
|||
bin/mldonkey_gui
|
||||
bin/mldonkey_gui2
|
||||
bin/mldonkey+gui
|
||||
bin/mldonkey+gui-real
|
||||
bin/mldonkey_previewer
|
||||
bin/mldonkey_guistarter
|
||||
bin/mlim
|
|
@ -5,57 +5,11 @@
|
|||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= mldonkey
|
||||
PORTVERSION= 2.04.r1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://savannah.nongnu.org/download/mldonkey/release-2.04rc1/contributed/holger/
|
||||
PKGNAMESUFFIX= -gui
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/rc/}-0.shared.${ARCH}-${OPSYS}-hl
|
||||
# build only the GUI
|
||||
WITHOUT_CORE= yes
|
||||
|
||||
MAINTAINER= holger@e-gitt.net
|
||||
COMMENT= A OCAML/GTK GUI for the mldonkey peer-to-peer network client
|
||||
COMMENT= A OCAML/GTK GUI for the MLdonkey peer-to-peer network client
|
||||
|
||||
ONLY_FOR_ARCHS= i386 alpha
|
||||
USE_BZIP2= yes
|
||||
USE_GNOME= gtk12
|
||||
NO_BUILD= yes
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-distrib-${PORTVERSION:S/.r/rc/}-0
|
||||
MASTERDIR= ${.CURDIR}/../mldonkey
|
||||
|
||||
DIRNAME= ${HOME}/.mldonkey
|
||||
|
||||
post-patch:
|
||||
@${SED} -e "s|%%PREFIX%%|${PREFIX}|" ${FILESDIR}/wrapper.sh > \
|
||||
${WRKDIR}/wrapper.sh
|
||||
|
||||
do-install:
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/mldonkey_gui ${PREFIX}/bin
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/mldonkey+gui ${PREFIX}/bin/mldonkey+gui-real
|
||||
@if [ -e ${PREFIX}/bin/mldonkey ]; then \
|
||||
${LN} ${PREFIX}/bin/mldonkey ${PREFIX}/bin/mldonkey+gui; \
|
||||
else \
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/mldonkey+gui; \
|
||||
fi
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/mldonkey_gui2 ${PREFIX}/bin
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/mldonkey_previewer ${PREFIX}/bin
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/mldonkey_guistarter ${PREFIX}/bin
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/mlim ${PREFIX}/bin
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 500000
|
||||
LIB_DEPENDS+= c_r.4:${PORTSDIR}/misc/compat4x
|
||||
.endif
|
||||
|
||||
install-user: extract
|
||||
.if !defined(LANG)
|
||||
@${ECHO_MSG} "Please call as: make install-user LANG=<lang>"
|
||||
@${ECHO_MSG} "with <lang> one of en,de,fr,fr.noaccents,sp !"
|
||||
.else
|
||||
@${CP} ${WRKSRC}/i18n/gui_messages.ini.${LANG}\
|
||||
${HOME}/.mldonkey_gui_messages.ini
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
MD5 (mldonkey-2.04rc1-0.shared.alpha-FreeBSD-hl.tar.bz2) = 41dcb32d1d982de203388d83b18ff3c1
|
||||
MD5 (mldonkey-2.04rc1-0.shared.i386-FreeBSD-hl.tar.bz2) = af85d3aed07256e5c3568de2a25d25fb
|
|
@ -1,18 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
PREFIX="%%PREFIX%%/bin"
|
||||
PROGRAM="${0}"
|
||||
DIRNAME=${HOME}/.mldonkey
|
||||
|
||||
if [ ! -d ${DIRNAME} ]
|
||||
then
|
||||
mkdir -p ${DIRNAME}
|
||||
fi
|
||||
|
||||
echo " ${*} " | grep " \-createdironly " ||
|
||||
{
|
||||
cd ${DIRNAME} &&
|
||||
echo Running under ${DIRNAME} &&
|
||||
exec ${PREFIX}/${PROGRAM##*/}-real "${@}" ||
|
||||
echo PROBLEM. Cannot create directory ${DIRNAME}, make sure you have the proper permissions to create it and try again
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
mldonkey is a OCAML/GTK client for both eDonkey and Overnet
|
||||
peer-to-peer networks.
|
||||
(see http://www.edonkey2000.com/ and the 'edonkey' ports)
|
||||
(see http://www.overnet.com/)
|
||||
|
||||
This is the official GTK GUI that comes along with the port.
|
||||
Like all other control methods (telnet, web), it can run on
|
||||
another box than the client does.
|
||||
|
||||
Other features over the original eDonkey client are:
|
||||
- better stability
|
||||
- faster operation
|
||||
- much better control
|
||||
- saves its current state, checksums and known peers
|
||||
(instead of starting from scratch every time)
|
||||
|
||||
WWW: http://www.freesoftware.fsf.org/mldonkey/
|
|
@ -1,9 +0,0 @@
|
|||
ATTENTIONATTENTION:
|
||||
|
||||
- If this is the first time you install mldonkey,
|
||||
please go to the mldonkey-gui port's dir as the user who will run
|
||||
mldonkey and enter:
|
||||
|
||||
make install-user
|
||||
|
||||
this will set up your user config.
|
|
@ -1,7 +0,0 @@
|
|||
bin/mldonkey_gui
|
||||
bin/mldonkey_gui2
|
||||
bin/mldonkey+gui
|
||||
bin/mldonkey+gui-real
|
||||
bin/mldonkey_previewer
|
||||
bin/mldonkey_guistarter
|
||||
bin/mlim
|
|
@ -5,57 +5,11 @@
|
|||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= mldonkey
|
||||
PORTVERSION= 2.04.r1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://savannah.nongnu.org/download/mldonkey/release-2.04rc1/contributed/holger/
|
||||
PKGNAMESUFFIX= -gui
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/rc/}-0.shared.${ARCH}-${OPSYS}-hl
|
||||
# build only the GUI
|
||||
WITHOUT_CORE= yes
|
||||
|
||||
MAINTAINER= holger@e-gitt.net
|
||||
COMMENT= A OCAML/GTK GUI for the mldonkey peer-to-peer network client
|
||||
COMMENT= A OCAML/GTK GUI for the MLdonkey peer-to-peer network client
|
||||
|
||||
ONLY_FOR_ARCHS= i386 alpha
|
||||
USE_BZIP2= yes
|
||||
USE_GNOME= gtk12
|
||||
NO_BUILD= yes
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-distrib-${PORTVERSION:S/.r/rc/}-0
|
||||
MASTERDIR= ${.CURDIR}/../mldonkey
|
||||
|
||||
DIRNAME= ${HOME}/.mldonkey
|
||||
|
||||
post-patch:
|
||||
@${SED} -e "s|%%PREFIX%%|${PREFIX}|" ${FILESDIR}/wrapper.sh > \
|
||||
${WRKDIR}/wrapper.sh
|
||||
|
||||
do-install:
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/mldonkey_gui ${PREFIX}/bin
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/mldonkey+gui ${PREFIX}/bin/mldonkey+gui-real
|
||||
@if [ -e ${PREFIX}/bin/mldonkey ]; then \
|
||||
${LN} ${PREFIX}/bin/mldonkey ${PREFIX}/bin/mldonkey+gui; \
|
||||
else \
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/mldonkey+gui; \
|
||||
fi
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/mldonkey_gui2 ${PREFIX}/bin
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/mldonkey_previewer ${PREFIX}/bin
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/mldonkey_guistarter ${PREFIX}/bin
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/mlim ${PREFIX}/bin
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 500000
|
||||
LIB_DEPENDS+= c_r.4:${PORTSDIR}/misc/compat4x
|
||||
.endif
|
||||
|
||||
install-user: extract
|
||||
.if !defined(LANG)
|
||||
@${ECHO_MSG} "Please call as: make install-user LANG=<lang>"
|
||||
@${ECHO_MSG} "with <lang> one of en,de,fr,fr.noaccents,sp !"
|
||||
.else
|
||||
@${CP} ${WRKSRC}/i18n/gui_messages.ini.${LANG}\
|
||||
${HOME}/.mldonkey_gui_messages.ini
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
MD5 (mldonkey-2.04rc1-0.shared.alpha-FreeBSD-hl.tar.bz2) = 41dcb32d1d982de203388d83b18ff3c1
|
||||
MD5 (mldonkey-2.04rc1-0.shared.i386-FreeBSD-hl.tar.bz2) = af85d3aed07256e5c3568de2a25d25fb
|
|
@ -1,18 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
PREFIX="%%PREFIX%%/bin"
|
||||
PROGRAM="${0}"
|
||||
DIRNAME=${HOME}/.mldonkey
|
||||
|
||||
if [ ! -d ${DIRNAME} ]
|
||||
then
|
||||
mkdir -p ${DIRNAME}
|
||||
fi
|
||||
|
||||
echo " ${*} " | grep " \-createdironly " ||
|
||||
{
|
||||
cd ${DIRNAME} &&
|
||||
echo Running under ${DIRNAME} &&
|
||||
exec ${PREFIX}/${PROGRAM##*/}-real "${@}" ||
|
||||
echo PROBLEM. Cannot create directory ${DIRNAME}, make sure you have the proper permissions to create it and try again
|
||||
}
|
|
@ -5,57 +5,11 @@
|
|||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= mldonkey
|
||||
PORTVERSION= 2.04.r1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://savannah.nongnu.org/download/mldonkey/release-2.04rc1/contributed/holger/
|
||||
PKGNAMESUFFIX= -gui
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/rc/}-0.shared.${ARCH}-${OPSYS}-hl
|
||||
# build only the GUI
|
||||
WITHOUT_CORE= yes
|
||||
|
||||
MAINTAINER= holger@e-gitt.net
|
||||
COMMENT= A OCAML/GTK GUI for the mldonkey peer-to-peer network client
|
||||
COMMENT= A OCAML/GTK GUI for the MLdonkey peer-to-peer network client
|
||||
|
||||
ONLY_FOR_ARCHS= i386 alpha
|
||||
USE_BZIP2= yes
|
||||
USE_GNOME= gtk12
|
||||
NO_BUILD= yes
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-distrib-${PORTVERSION:S/.r/rc/}-0
|
||||
MASTERDIR= ${.CURDIR}/../mldonkey
|
||||
|
||||
DIRNAME= ${HOME}/.mldonkey
|
||||
|
||||
post-patch:
|
||||
@${SED} -e "s|%%PREFIX%%|${PREFIX}|" ${FILESDIR}/wrapper.sh > \
|
||||
${WRKDIR}/wrapper.sh
|
||||
|
||||
do-install:
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/mldonkey_gui ${PREFIX}/bin
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/mldonkey+gui ${PREFIX}/bin/mldonkey+gui-real
|
||||
@if [ -e ${PREFIX}/bin/mldonkey ]; then \
|
||||
${LN} ${PREFIX}/bin/mldonkey ${PREFIX}/bin/mldonkey+gui; \
|
||||
else \
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/mldonkey+gui; \
|
||||
fi
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/mldonkey_gui2 ${PREFIX}/bin
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/mldonkey_previewer ${PREFIX}/bin
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/mldonkey_guistarter ${PREFIX}/bin
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/mlim ${PREFIX}/bin
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 500000
|
||||
LIB_DEPENDS+= c_r.4:${PORTSDIR}/misc/compat4x
|
||||
.endif
|
||||
|
||||
install-user: extract
|
||||
.if !defined(LANG)
|
||||
@${ECHO_MSG} "Please call as: make install-user LANG=<lang>"
|
||||
@${ECHO_MSG} "with <lang> one of en,de,fr,fr.noaccents,sp !"
|
||||
.else
|
||||
@${CP} ${WRKSRC}/i18n/gui_messages.ini.${LANG}\
|
||||
${HOME}/.mldonkey_gui_messages.ini
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
MD5 (mldonkey-2.04rc1-0.shared.alpha-FreeBSD-hl.tar.bz2) = 41dcb32d1d982de203388d83b18ff3c1
|
||||
MD5 (mldonkey-2.04rc1-0.shared.i386-FreeBSD-hl.tar.bz2) = af85d3aed07256e5c3568de2a25d25fb
|
|
@ -1,18 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
PREFIX="%%PREFIX%%/bin"
|
||||
PROGRAM="${0}"
|
||||
DIRNAME=${HOME}/.mldonkey
|
||||
|
||||
if [ ! -d ${DIRNAME} ]
|
||||
then
|
||||
mkdir -p ${DIRNAME}
|
||||
fi
|
||||
|
||||
echo " ${*} " | grep " \-createdironly " ||
|
||||
{
|
||||
cd ${DIRNAME} &&
|
||||
echo Running under ${DIRNAME} &&
|
||||
exec ${PREFIX}/${PROGRAM##*/}-real "${@}" ||
|
||||
echo PROBLEM. Cannot create directory ${DIRNAME}, make sure you have the proper permissions to create it and try again
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
mldonkey is a OCAML/GTK client for both eDonkey and Overnet
|
||||
peer-to-peer networks.
|
||||
(see http://www.edonkey2000.com/ and the 'edonkey' ports)
|
||||
(see http://www.overnet.com/)
|
||||
|
||||
This is the official GTK GUI that comes along with the port.
|
||||
Like all other control methods (telnet, web), it can run on
|
||||
another box than the client does.
|
||||
|
||||
Other features over the original eDonkey client are:
|
||||
- better stability
|
||||
- faster operation
|
||||
- much better control
|
||||
- saves its current state, checksums and known peers
|
||||
(instead of starting from scratch every time)
|
||||
|
||||
WWW: http://www.freesoftware.fsf.org/mldonkey/
|
|
@ -1,9 +0,0 @@
|
|||
ATTENTIONATTENTION:
|
||||
|
||||
- If this is the first time you install mldonkey,
|
||||
please go to the mldonkey-gui port's dir as the user who will run
|
||||
mldonkey and enter:
|
||||
|
||||
make install-user
|
||||
|
||||
this will set up your user config.
|
|
@ -1,7 +0,0 @@
|
|||
bin/mldonkey_gui
|
||||
bin/mldonkey_gui2
|
||||
bin/mldonkey+gui
|
||||
bin/mldonkey+gui-real
|
||||
bin/mldonkey_previewer
|
||||
bin/mldonkey_guistarter
|
||||
bin/mlim
|
|
@ -1,17 +0,0 @@
|
|||
mldonkey is a OCAML/GTK client for both eDonkey and Overnet
|
||||
peer-to-peer networks.
|
||||
(see http://www.edonkey2000.com/ and the 'edonkey' ports)
|
||||
(see http://www.overnet.com/)
|
||||
|
||||
This is the official GTK GUI that comes along with the port.
|
||||
Like all other control methods (telnet, web), it can run on
|
||||
another box than the client does.
|
||||
|
||||
Other features over the original eDonkey client are:
|
||||
- better stability
|
||||
- faster operation
|
||||
- much better control
|
||||
- saves its current state, checksums and known peers
|
||||
(instead of starting from scratch every time)
|
||||
|
||||
WWW: http://www.freesoftware.fsf.org/mldonkey/
|
|
@ -1,9 +0,0 @@
|
|||
ATTENTIONATTENTION:
|
||||
|
||||
- If this is the first time you install mldonkey,
|
||||
please go to the mldonkey-gui port's dir as the user who will run
|
||||
mldonkey and enter:
|
||||
|
||||
make install-user
|
||||
|
||||
this will set up your user config.
|
|
@ -1,7 +0,0 @@
|
|||
bin/mldonkey_gui
|
||||
bin/mldonkey_gui2
|
||||
bin/mldonkey+gui
|
||||
bin/mldonkey+gui-real
|
||||
bin/mldonkey_previewer
|
||||
bin/mldonkey_guistarter
|
||||
bin/mlim
|
|
@ -5,57 +5,11 @@
|
|||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= mldonkey
|
||||
PORTVERSION= 2.04.r1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://savannah.nongnu.org/download/mldonkey/release-2.04rc1/contributed/holger/
|
||||
PKGNAMESUFFIX= -gui
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/rc/}-0.shared.${ARCH}-${OPSYS}-hl
|
||||
# build only the GUI
|
||||
WITHOUT_CORE= yes
|
||||
|
||||
MAINTAINER= holger@e-gitt.net
|
||||
COMMENT= A OCAML/GTK GUI for the mldonkey peer-to-peer network client
|
||||
COMMENT= A OCAML/GTK GUI for the MLdonkey peer-to-peer network client
|
||||
|
||||
ONLY_FOR_ARCHS= i386 alpha
|
||||
USE_BZIP2= yes
|
||||
USE_GNOME= gtk12
|
||||
NO_BUILD= yes
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-distrib-${PORTVERSION:S/.r/rc/}-0
|
||||
MASTERDIR= ${.CURDIR}/../mldonkey
|
||||
|
||||
DIRNAME= ${HOME}/.mldonkey
|
||||
|
||||
post-patch:
|
||||
@${SED} -e "s|%%PREFIX%%|${PREFIX}|" ${FILESDIR}/wrapper.sh > \
|
||||
${WRKDIR}/wrapper.sh
|
||||
|
||||
do-install:
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/mldonkey_gui ${PREFIX}/bin
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/mldonkey+gui ${PREFIX}/bin/mldonkey+gui-real
|
||||
@if [ -e ${PREFIX}/bin/mldonkey ]; then \
|
||||
${LN} ${PREFIX}/bin/mldonkey ${PREFIX}/bin/mldonkey+gui; \
|
||||
else \
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/mldonkey+gui; \
|
||||
fi
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/mldonkey_gui2 ${PREFIX}/bin
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/mldonkey_previewer ${PREFIX}/bin
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/mldonkey_guistarter ${PREFIX}/bin
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/mlim ${PREFIX}/bin
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 500000
|
||||
LIB_DEPENDS+= c_r.4:${PORTSDIR}/misc/compat4x
|
||||
.endif
|
||||
|
||||
install-user: extract
|
||||
.if !defined(LANG)
|
||||
@${ECHO_MSG} "Please call as: make install-user LANG=<lang>"
|
||||
@${ECHO_MSG} "with <lang> one of en,de,fr,fr.noaccents,sp !"
|
||||
.else
|
||||
@${CP} ${WRKSRC}/i18n/gui_messages.ini.${LANG}\
|
||||
${HOME}/.mldonkey_gui_messages.ini
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
MD5 (mldonkey-2.04rc1-0.shared.alpha-FreeBSD-hl.tar.bz2) = 41dcb32d1d982de203388d83b18ff3c1
|
||||
MD5 (mldonkey-2.04rc1-0.shared.i386-FreeBSD-hl.tar.bz2) = af85d3aed07256e5c3568de2a25d25fb
|
|
@ -1,18 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
PREFIX="%%PREFIX%%/bin"
|
||||
PROGRAM="${0}"
|
||||
DIRNAME=${HOME}/.mldonkey
|
||||
|
||||
if [ ! -d ${DIRNAME} ]
|
||||
then
|
||||
mkdir -p ${DIRNAME}
|
||||
fi
|
||||
|
||||
echo " ${*} " | grep " \-createdironly " ||
|
||||
{
|
||||
cd ${DIRNAME} &&
|
||||
echo Running under ${DIRNAME} &&
|
||||
exec ${PREFIX}/${PROGRAM##*/}-real "${@}" ||
|
||||
echo PROBLEM. Cannot create directory ${DIRNAME}, make sure you have the proper permissions to create it and try again
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
mldonkey is a OCAML/GTK client for both eDonkey and Overnet
|
||||
peer-to-peer networks.
|
||||
(see http://www.edonkey2000.com/ and the 'edonkey' ports)
|
||||
(see http://www.overnet.com/)
|
||||
|
||||
This is the official GTK GUI that comes along with the port.
|
||||
Like all other control methods (telnet, web), it can run on
|
||||
another box than the client does.
|
||||
|
||||
Other features over the original eDonkey client are:
|
||||
- better stability
|
||||
- faster operation
|
||||
- much better control
|
||||
- saves its current state, checksums and known peers
|
||||
(instead of starting from scratch every time)
|
||||
|
||||
WWW: http://www.freesoftware.fsf.org/mldonkey/
|
|
@ -1,9 +0,0 @@
|
|||
ATTENTIONATTENTION:
|
||||
|
||||
- If this is the first time you install mldonkey,
|
||||
please go to the mldonkey-gui port's dir as the user who will run
|
||||
mldonkey and enter:
|
||||
|
||||
make install-user
|
||||
|
||||
this will set up your user config.
|
|
@ -1,7 +0,0 @@
|
|||
bin/mldonkey_gui
|
||||
bin/mldonkey_gui2
|
||||
bin/mldonkey+gui
|
||||
bin/mldonkey+gui-real
|
||||
bin/mldonkey_previewer
|
||||
bin/mldonkey_guistarter
|
||||
bin/mlim
|
Loading…
Add table
Reference in a new issue