aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2003-06-16 03:55:31 +0800
committerlioux <lioux@FreeBSD.org>2003-06-16 03:55:31 +0800
commitb35d6c3377dd3d004433c5dfd341e342eb2b2f03 (patch)
treebc357943ef939e00badb72eb8775bccf0f6d7b02 /net
parentc643e8ba312760127ef424cd86c1b11b3a7e5032 (diff)
downloadfreebsd-ports-gnome-b35d6c3377dd3d004433c5dfd341e342eb2b2f03.tar.gz
freebsd-ports-gnome-b35d6c3377dd3d004433c5dfd341e342eb2b2f03.tar.zst
freebsd-ports-gnome-b35d6c3377dd3d004433c5dfd341e342eb2b2f03.zip
Make this a slave port of ports/net/mldonkey one. This will enable
packages to be build containing only the MLDonkey GUI.
Diffstat (limited to 'net')
-rw-r--r--net/mldonkey-gui-devel/Makefile56
-rw-r--r--net/mldonkey-gui-devel/distinfo2
-rw-r--r--net/mldonkey-gui-devel/files/wrapper.sh18
-rw-r--r--net/mldonkey-gui-devel/mldonkey-gui/Makefile56
-rw-r--r--net/mldonkey-gui-devel/mldonkey-gui/distinfo2
-rw-r--r--net/mldonkey-gui-devel/mldonkey-gui/files/wrapper.sh18
-rw-r--r--net/mldonkey-gui-devel/mldonkey-gui/pkg-descr17
-rw-r--r--net/mldonkey-gui-devel/mldonkey-gui/pkg-message9
-rw-r--r--net/mldonkey-gui-devel/mldonkey-gui/pkg-plist7
-rw-r--r--net/mldonkey-gui-devel/pkg-descr17
-rw-r--r--net/mldonkey-gui-devel/pkg-message9
-rw-r--r--net/mldonkey-gui-devel/pkg-plist7
-rw-r--r--net/mldonkey-gui/Makefile56
-rw-r--r--net/mldonkey-gui/distinfo2
-rw-r--r--net/mldonkey-gui/files/wrapper.sh18
-rw-r--r--net/mldonkey-gui/pkg-descr17
-rw-r--r--net/mldonkey-gui/pkg-message9
-rw-r--r--net/mldonkey-gui/pkg-plist7
18 files changed, 15 insertions, 312 deletions
diff --git a/net/mldonkey-gui-devel/Makefile b/net/mldonkey-gui-devel/Makefile
index 9757b493bad9..1b80b728432b 100644
--- a/net/mldonkey-gui-devel/Makefile
+++ b/net/mldonkey-gui-devel/Makefile
@@ -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"
diff --git a/net/mldonkey-gui-devel/distinfo b/net/mldonkey-gui-devel/distinfo
deleted file mode 100644
index 4f411fb1a72f..000000000000
--- a/net/mldonkey-gui-devel/distinfo
+++ /dev/null
@@ -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
diff --git a/net/mldonkey-gui-devel/files/wrapper.sh b/net/mldonkey-gui-devel/files/wrapper.sh
deleted file mode 100644
index c25fd62bc133..000000000000
--- a/net/mldonkey-gui-devel/files/wrapper.sh
+++ /dev/null
@@ -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
-}
diff --git a/net/mldonkey-gui-devel/mldonkey-gui/Makefile b/net/mldonkey-gui-devel/mldonkey-gui/Makefile
index 9757b493bad9..1b80b728432b 100644
--- a/net/mldonkey-gui-devel/mldonkey-gui/Makefile
+++ b/net/mldonkey-gui-devel/mldonkey-gui/Makefile
@@ -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"
diff --git a/net/mldonkey-gui-devel/mldonkey-gui/distinfo b/net/mldonkey-gui-devel/mldonkey-gui/distinfo
deleted file mode 100644
index 4f411fb1a72f..000000000000
--- a/net/mldonkey-gui-devel/mldonkey-gui/distinfo
+++ /dev/null
@@ -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
diff --git a/net/mldonkey-gui-devel/mldonkey-gui/files/wrapper.sh b/net/mldonkey-gui-devel/mldonkey-gui/files/wrapper.sh
deleted file mode 100644
index c25fd62bc133..000000000000
--- a/net/mldonkey-gui-devel/mldonkey-gui/files/wrapper.sh
+++ /dev/null
@@ -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
-}
diff --git a/net/mldonkey-gui-devel/mldonkey-gui/pkg-descr b/net/mldonkey-gui-devel/mldonkey-gui/pkg-descr
deleted file mode 100644
index c7cba37abb6c..000000000000
--- a/net/mldonkey-gui-devel/mldonkey-gui/pkg-descr
+++ /dev/null
@@ -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/
diff --git a/net/mldonkey-gui-devel/mldonkey-gui/pkg-message b/net/mldonkey-gui-devel/mldonkey-gui/pkg-message
deleted file mode 100644
index 8a3ec7b65f21..000000000000
--- a/net/mldonkey-gui-devel/mldonkey-gui/pkg-message
+++ /dev/null
@@ -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.
diff --git a/net/mldonkey-gui-devel/mldonkey-gui/pkg-plist b/net/mldonkey-gui-devel/mldonkey-gui/pkg-plist
deleted file mode 100644
index 6f34dc315995..000000000000
--- a/net/mldonkey-gui-devel/mldonkey-gui/pkg-plist
+++ /dev/null
@@ -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
diff --git a/net/mldonkey-gui-devel/pkg-descr b/net/mldonkey-gui-devel/pkg-descr
deleted file mode 100644
index c7cba37abb6c..000000000000
--- a/net/mldonkey-gui-devel/pkg-descr
+++ /dev/null
@@ -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/
diff --git a/net/mldonkey-gui-devel/pkg-message b/net/mldonkey-gui-devel/pkg-message
deleted file mode 100644
index 8a3ec7b65f21..000000000000
--- a/net/mldonkey-gui-devel/pkg-message
+++ /dev/null
@@ -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.
diff --git a/net/mldonkey-gui-devel/pkg-plist b/net/mldonkey-gui-devel/pkg-plist
deleted file mode 100644
index 6f34dc315995..000000000000
--- a/net/mldonkey-gui-devel/pkg-plist
+++ /dev/null
@@ -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
diff --git a/net/mldonkey-gui/Makefile b/net/mldonkey-gui/Makefile
index 9757b493bad9..1b80b728432b 100644
--- a/net/mldonkey-gui/Makefile
+++ b/net/mldonkey-gui/Makefile
@@ -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"
diff --git a/net/mldonkey-gui/distinfo b/net/mldonkey-gui/distinfo
deleted file mode 100644
index 4f411fb1a72f..000000000000
--- a/net/mldonkey-gui/distinfo
+++ /dev/null
@@ -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
diff --git a/net/mldonkey-gui/files/wrapper.sh b/net/mldonkey-gui/files/wrapper.sh
deleted file mode 100644
index c25fd62bc133..000000000000
--- a/net/mldonkey-gui/files/wrapper.sh
+++ /dev/null
@@ -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
-}
diff --git a/net/mldonkey-gui/pkg-descr b/net/mldonkey-gui/pkg-descr
deleted file mode 100644
index c7cba37abb6c..000000000000
--- a/net/mldonkey-gui/pkg-descr
+++ /dev/null
@@ -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/
diff --git a/net/mldonkey-gui/pkg-message b/net/mldonkey-gui/pkg-message
deleted file mode 100644
index 8a3ec7b65f21..000000000000
--- a/net/mldonkey-gui/pkg-message
+++ /dev/null
@@ -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.
diff --git a/net/mldonkey-gui/pkg-plist b/net/mldonkey-gui/pkg-plist
deleted file mode 100644
index 6f34dc315995..000000000000
--- a/net/mldonkey-gui/pkg-plist
+++ /dev/null
@@ -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