resurrect mldonkey 2.5.4, okay pval.

This commit is contained in:
espie 2004-03-07 19:10:53 +00:00
parent b07597555a
commit f75c6e4d76
6 changed files with 158 additions and 0 deletions

View File

@ -0,0 +1,35 @@
# $OpenBSD: Makefile,v 1.1.1.1 2004/03/07 19:10:53 espie Exp $
COMMENT='e-donkey client'
CATEGORIES=net
MAINTAINER=Marc Espie <espie@openbsd.org>
# GPL
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --enable-ocamlver=3.07
HOMEPAGE=http://savannah.nongnu.org/projects/mldonkey/
MASTER_SITES=http://savannah.nongnu.org/download/mldonkey/release-2.5-4/official/
DISTNAME=mldonkey-2.5.4
PKGNAME=${DISTNAME}p0
DISTFILES=mldonkey-2.5-4.tar.gz
WRKDIST=${WRKDIR}/mldonkey-2.5-4
USE_GMAKE=Yes
MODULES=ocaml
BUILD_DEPENDS=::x11/lablgtk
LIB_DEPENDS=gdk.1,gtk.1::x11/gtk+
FAKE_FLAGS=prefix=${DESTDIR}${PREFIX} MODOCAML_NATIVE=${MODOCAML_NATIVE}
NO_REGRESS=Yes
post-install:
mkdir -p ${PREFIX}/share/mldonkey
cp -R ${WRKDIST}/distrib ${PREFIX}/share/mldonkey
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (mldonkey-2.5-4.tar.gz) = ef72a0c8e1337bfcce9f80f4a94dd927
RMD160 (mldonkey-2.5-4.tar.gz) = 0957b9c4b08e9356c5f3e3a9ff56a407ca2a9ca7
SHA1 (mldonkey-2.5-4.tar.gz) = 10209f6f7d6fea4680e563bc7eca9e54b0c24fbb

View File

@ -0,0 +1,48 @@
$OpenBSD: patch-config_Makefile_in,v 1.1.1.1 2004/03/07 19:10:53 espie Exp $
--- config/Makefile.in.orig 2003-10-12 20:41:28.000000000 +0200
+++ config/Makefile.in 2003-12-31 16:48:40.000000000 +0100
@@ -451,6 +451,8 @@ uninstall::
rm -f $(BINDIR)/mlnet
rm -f $(BINDIR)/mlgui
+ifeq ("$(MODOCAML_NATIVE)", "Yes")
+
install:: opt
mkdir -p $(prefix)/bin
if test -e mlnet; then \
@@ -460,7 +462,7 @@ install:: opt
done; \
fi
if test -e mlgui; then \
- rm -f $(prefix)/bin/mlgui; cp -f mlnet $(prefix)/bin/mlgui; \
+ rm -f $(prefix)/bin/mlgui; cp -f mlgui $(prefix)/bin/mlgui; \
rm -f $(prefix)/bin/mldonkey_gui; cp -f mlgui $(prefix)/bin/mldonkey_gui; \
fi
if test -e mlnet+gui; then \
@@ -470,9 +472,25 @@ install:: opt
done; \
fi
if test -e mlim; then \
- rm -f $(prefix)/bin/mlim; cp -f mlnet $(prefix)/bin/mlim; \
+ rm -f $(prefix)/bin/mlim; cp -f mlim $(prefix)/bin/mlim; \
fi
+else
+
+install::
+ cp -f mlnet.byte $(prefix)/bin/mlnet
+ for link in mlslsk mldonkey mlgnut mldc mlbt; do \
+ ln -s mlnet $(prefix)/bin/$$link; \
+ done
+ cp -f mlgui.byte $(prefix)/bin/mlgui
+ cp -f mlgui.byte $(prefix)/bin/mldonkey_gui
+ cp -f mlnet.byte $(prefix)/bin/mlnet+gui
+ for link in mlslsk+gui mldonkey+gui mlgnut+gui mldc+gui mlbt+gui; do \
+ ln -s mlnet+gui $(prefix)/bin/$$link; \
+ done
+ cp -f mlim.byte $(prefix)/bin/mlim;
+
+endif
ifeq ("$(COMPILE_GUI)" , "yes")

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-config_configure,v 1.1.1.1 2004/03/07 19:10:53 espie Exp $
--- config/configure.orig 2003-12-31 16:50:27.000000000 +0100
+++ config/configure 2003-12-31 16:52:12.000000000 +0100
@@ -3651,7 +3651,7 @@ ARCH=$arch
case "$OCAMLVERSION" in
3.06) TYPE_FORMAT="";;
- 3.07) TYPE_FORMAT="";;
+ 3.07*) TYPE_FORMAT="";;
*) TYPE_FORMAT="type ('a,'b,'c) ml_format = ('a,'b, 'c,'c) format type ('a,'b,'c) format = ('a,'b, 'c) ml_format";;
esac

View File

@ -0,0 +1,2 @@
File-sharing client for the edonkey and other network peer2peer
protocols.

View File

@ -0,0 +1,58 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2004/03/07 19:10:53 espie Exp $
bin/mlbt
bin/mlbt+gui
bin/mldc
bin/mldc+gui
bin/mldonkey
bin/mldonkey+gui
bin/mldonkey_gui
bin/mlgnut
bin/mlgnut+gui
bin/mlgui
bin/mlim
bin/mlnet
bin/mlnet+gui
bin/mlslsk
bin/mlslsk+gui
share/mldonkey/distrib/AUTHORS
share/mldonkey/distrib/BUGS
share/mldonkey/distrib/COPYING
share/mldonkey/distrib/ChangeLog
share/mldonkey/distrib/FAQ.html
share/mldonkey/distrib/INSTALL
share/mldonkey/distrib/TODO
share/mldonkey/distrib/directconnect.ini
share/mldonkey/distrib/docs/mlchat
share/mldonkey/distrib/docs/mldonkey
share/mldonkey/distrib/docs/mldonkey_gui
share/mldonkey/distrib/docs/mldonkey_gui2
share/mldonkey/distrib/ed2k_links.txt
share/mldonkey/distrib/ed2k_mozilla/README
share/mldonkey/distrib/ed2k_mozilla/mldonkey_protocol_handler-1.3.xpi
share/mldonkey/distrib/ed2k_mozilla/src/contents.rdf
share/mldonkey/distrib/ed2k_mozilla/src/ed2kprotocol.js
share/mldonkey/distrib/ed2k_mozilla/src/install.js
share/mldonkey/distrib/ed2k_submit/README.MLdonkeySubmit
share/mldonkey/distrib/ed2k_submit/ed2k.protocol
share/mldonkey/distrib/ed2k_submit/mldonkey
share/mldonkey/distrib/ed2k_submit/mldonkey_submit
share/mldonkey/distrib/i18n/gui_messages.ini.catalan
share/mldonkey/distrib/i18n/gui_messages.ini.de
share/mldonkey/distrib/i18n/gui_messages.ini.en
share/mldonkey/distrib/i18n/gui_messages.ini.fr
share/mldonkey/distrib/i18n/gui_messages.ini.fr.noaccents
share/mldonkey/distrib/i18n/gui_messages.ini.pt_BR
share/mldonkey/distrib/i18n/gui_messages.ini.sp
share/mldonkey/distrib/i18n/gui_messages.ini.sv
share/mldonkey/distrib/kill_mldonkey
share/mldonkey/distrib/mldonkey_command
share/mldonkey/distrib/mldonkey_gui_started_for_macosx
share/mldonkey/distrib/mldonkey_previewer
share/mldonkey/distrib/servers.ini
@dirrm share/mldonkey/distrib/i18n
@dirrm share/mldonkey/distrib/ed2k_submit
@dirrm share/mldonkey/distrib/ed2k_mozilla/src
@dirrm share/mldonkey/distrib/ed2k_mozilla
@dirrm share/mldonkey/distrib/docs
@dirrm share/mldonkey/distrib
@dirrm share/mldonkey