summaryrefslogtreecommitdiff
path: root/net/mldonkey
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-03-31 15:55:36 +0000
committerjmmv <jmmv@pkgsrc.org>2003-03-31 15:55:36 +0000
commit4c63886fdc9b150850c73f994f8b6bfcb4eb24ef (patch)
tree554b41b77846925def2df60f81ef38b950d468f0 /net/mldonkey
parent5e93d6a5cdbf6871aec46c91cadc28e63b2781bb (diff)
downloadpkgsrc-4c63886fdc9b150850c73f994f8b6bfcb4eb24ef.tar.gz
Initial import of mldonkey, version 2.04rc1:
mldonkey is a client to access the eDonkey network, a peer-to-peer network particularly efficient for big files thanks to a multi-sources download protocol. It is written in Objective-Caml, and comes with its own GTK GUI, an HTTP interface and a telnet interface. It works on most UNIX platforms. This closes my own PR pkg/18832 and PR pkg/20864 by Wolfram Gerlach.
Diffstat (limited to 'net/mldonkey')
-rw-r--r--net/mldonkey/files/mldonkey.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/net/mldonkey/files/mldonkey.sh b/net/mldonkey/files/mldonkey.sh
new file mode 100644
index 00000000000..f3368abdce1
--- /dev/null
+++ b/net/mldonkey/files/mldonkey.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+#
+# $NetBSD: mldonkey.sh,v 1.1.1.1 2003/03/31 15:55:36 jmmv Exp $
+#
+# pkgsrc script to ease mldonkey's startup.
+#
+
+if [ ! -d $HOME/mldonkey ]; then
+ echo "Creating user's directory ($HOME/mldonkey)..."
+ mkdir $HOME/mldonkey
+fi
+
+echo "Starting mldonkey..."
+cd $HOME/mldonkey
+PATH=@PREFIX@/libexec/mldonkey:$PATH
+@PREFIX@/libexec/mldonkey/mldonkey > $HOME/mldonkey/log 2>&1