summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-12-25 19:14:41 +0000
committerjmmv <jmmv@pkgsrc.org>2004-12-25 19:14:41 +0000
commit87e9db60dd340a437b27f85ae273dabca26bb07f (patch)
tree15f5636b3d79707ce11e8c6aa348b590214dc676 /net
parent4d206273e615cc49892b18e9e128688cd1cfe540 (diff)
downloadpkgsrc-87e9db60dd340a437b27f85ae273dabca26bb07f.tar.gz
Initial import of mldonkey-gui, version 2.5.21, which provides the GTK GUI
that comes with mldonkey.
Diffstat (limited to 'net')
-rw-r--r--net/mldonkey-gui/DESCR8
-rw-r--r--net/mldonkey-gui/Makefile26
-rw-r--r--net/mldonkey-gui/PLIST8
3 files changed, 42 insertions, 0 deletions
diff --git a/net/mldonkey-gui/DESCR b/net/mldonkey-gui/DESCR
new file mode 100644
index 00000000000..6eb1706b732
--- /dev/null
+++ b/net/mldonkey-gui/DESCR
@@ -0,0 +1,8 @@
+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 package provides the GTK GUI interface, but not the core. You will
+have to install it (using the mldonkey package) in the same machine or
+another one.
diff --git a/net/mldonkey-gui/Makefile b/net/mldonkey-gui/Makefile
new file mode 100644
index 00000000000..8cab1ac9669
--- /dev/null
+++ b/net/mldonkey-gui/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/12/25 19:14:41 jmmv Exp $
+#
+
+.include "../../net/mldonkey/Makefile.common"
+
+PKGNAME= ${DISTNAME:S/mldonkey/mldonkey-gui/}
+COMMENT+= (GTK interface)
+
+USE_X11= YES
+
+PRINT_PLIST_AWK+= /^@dirrm libexec\/mldonkey$$/ \
+ { print "@comment in mldonkey: " $$0; next }
+
+INSTALLATION_DIRS= bin
+
+do-install:
+ cd ${PREFIX}/bin && ${LN} -s ../libexec/mldonkey/mlgui mlgui
+ ${INSTALL_PROGRAM_DIR} ${PREFIX}/libexec/mldonkey
+ ${INSTALL_PROGRAM} ${WRKSRC}/mlchat ${PREFIX}/libexec/mldonkey
+ ${INSTALL_PROGRAM} ${WRKSRC}/mlgui ${PREFIX}/libexec/mldonkey
+ ${INSTALL_PROGRAM} ${WRKSRC}/mlguistarter ${PREFIX}/libexec/mldonkey
+ ${INSTALL_PROGRAM} ${WRKSRC}/mlim ${PREFIX}/libexec/mldonkey
+ ${INSTALL_PROGRAM} ${WRKSRC}/mlnet+gui ${PREFIX}/libexec/mldonkey
+
+.include "../../x11/lablgtk/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/mldonkey-gui/PLIST b/net/mldonkey-gui/PLIST
new file mode 100644
index 00000000000..b555ead4077
--- /dev/null
+++ b/net/mldonkey-gui/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/12/25 19:14:41 jmmv Exp $
+bin/mlgui
+libexec/mldonkey/mlchat
+libexec/mldonkey/mlgui
+libexec/mldonkey/mlguistarter
+libexec/mldonkey/mlim
+libexec/mldonkey/mlnet+gui
+@unexec ${RMDIR} %D/libexec/mldonkey >/dev/null 2>&1 || ${TRUE}