diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2003-06-15 19:55:31 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2003-06-15 19:55:31 +0000 |
commit | c328d32cadf39fbecd3209e7c825c6bf9906a772 (patch) | |
tree | f9d2ada76e5977f48f7122297a42f0689aa9a786 /net-p2p/mldonkey-gui | |
parent | c3a7daad7a1c5b879767cd378d8165887e841f48 (diff) | |
download | ports-c328d32cadf39fbecd3209e7c825c6bf9906a772.tar.gz ports-c328d32cadf39fbecd3209e7c825c6bf9906a772.zip |
Make this a slave port of ports/net/mldonkey one. This will enable
packages to be build containing only the MLDonkey GUI.
Notes
Notes:
svn path=/head/; revision=83039
Diffstat (limited to 'net-p2p/mldonkey-gui')
-rw-r--r-- | net-p2p/mldonkey-gui/Makefile | 56 | ||||
-rw-r--r-- | net-p2p/mldonkey-gui/distinfo | 2 | ||||
-rw-r--r-- | net-p2p/mldonkey-gui/files/wrapper.sh | 18 | ||||
-rw-r--r-- | net-p2p/mldonkey-gui/pkg-descr | 17 | ||||
-rw-r--r-- | net-p2p/mldonkey-gui/pkg-message | 9 | ||||
-rw-r--r-- | net-p2p/mldonkey-gui/pkg-plist | 7 |
6 files changed, 5 insertions, 104 deletions
diff --git a/net-p2p/mldonkey-gui/Makefile b/net-p2p/mldonkey-gui/Makefile index 9757b493bad9..1b80b728432b 100644 --- a/net-p2p/mldonkey-gui/Makefile +++ b/net-p2p/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-p2p/mldonkey-gui/distinfo b/net-p2p/mldonkey-gui/distinfo deleted file mode 100644 index 4f411fb1a72f..000000000000 --- a/net-p2p/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-p2p/mldonkey-gui/files/wrapper.sh b/net-p2p/mldonkey-gui/files/wrapper.sh deleted file mode 100644 index c25fd62bc133..000000000000 --- a/net-p2p/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-p2p/mldonkey-gui/pkg-descr b/net-p2p/mldonkey-gui/pkg-descr deleted file mode 100644 index c7cba37abb6c..000000000000 --- a/net-p2p/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-p2p/mldonkey-gui/pkg-message b/net-p2p/mldonkey-gui/pkg-message deleted file mode 100644 index 8a3ec7b65f21..000000000000 --- a/net-p2p/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-p2p/mldonkey-gui/pkg-plist b/net-p2p/mldonkey-gui/pkg-plist deleted file mode 100644 index 6f34dc315995..000000000000 --- a/net-p2p/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 |