summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-03-31 15:56:01 +0000
committerjmmv <jmmv@pkgsrc.org>2003-03-31 15:56:01 +0000
commit92172d33c5a921d1a43f8324a314a026903108f7 (patch)
tree7cdaddee40d6c8ff4fc379bf52a3b3dce321f517 /net
parent3c08491c4d6b17d79c1ae8d1799f4d2527aa4544 (diff)
downloadpkgsrc-92172d33c5a921d1a43f8324a314a026903108f7.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')
-rw-r--r--net/mldonkey/DESCR4
-rw-r--r--net/mldonkey/Makefile50
2 files changed, 54 insertions, 0 deletions
diff --git a/net/mldonkey/DESCR b/net/mldonkey/DESCR
new file mode 100644
index 00000000000..010179c9b6b
--- /dev/null
+++ b/net/mldonkey/DESCR
@@ -0,0 +1,4 @@
+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.
diff --git a/net/mldonkey/Makefile b/net/mldonkey/Makefile
new file mode 100644
index 00000000000..666391269b7
--- /dev/null
+++ b/net/mldonkey/Makefile
@@ -0,0 +1,50 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/03/31 15:56:01 jmmv Exp $
+#
+
+DISTNAME= mldonkey-2.04rc1.sources
+PKGNAME= ${DISTNAME:S/.sources//}
+WRKSRC= ${WRKDIR}/mldonkey
+CATEGORIES= net
+MASTER_SITES= http://savannah.nongnu.org/download/mldonkey/release-2.04rc1/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.nongnu.org/mldonkey/
+COMMENT= Free peer-to-peer client with eDonkey support and more
+
+GNU_CONFIGURE= yes
+USE_BUILDLINK2= yes
+USE_GMAKE= yes
+USE_PERL5= build
+
+MLDONKEY_SUBST= PREFIX="${PREFIX}"
+MLDONKEY_SUBST_SED= ${MLDONKEY_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/}
+
+CONFIGURE_ENV+= WGET=""
+CONFIGURE_ENV+= ac_cv_prog_WGET="no"
+CONFIGURE_ARGS+= --enable-pthread-lib
+CONFIGURE_ARGS+= --disable-multinet
+
+pre-build:
+ ${SED} ${MLDONKEY_SUBST_SED} ${FILESDIR}/mldonkey.sh > \
+ ${WRKDIR}/mldonkey.sh
+ ${CHMOD} +x ${WRKDIR}/mldonkey.sh
+
+do-install:
+ ( cd ${WRKDIR} && \
+ ${INSTALL_SCRIPT} mldonkey.sh ${PREFIX}/bin/mldonkey \
+ )
+ ( cd ${WRKSRC} && \
+ ${INSTALL_PROGRAM_DIR} ${PREFIX}/libexec/mldonkey && \
+ ${INSTALL_PROGRAM} mlchat ${PREFIX}/libexec/mldonkey && \
+ ${INSTALL_PROGRAM} mldonkey ${PREFIX}/libexec/mldonkey && \
+ ${INSTALL_PROGRAM} mldonkey_gui ${PREFIX}/libexec/mldonkey && \
+ ${INSTALL_PROGRAM} mldonkey_gui2 ${PREFIX}/libexec/mldonkey && \
+ ${INSTALL_PROGRAM} mldonkey_guistarter ${PREFIX}/libexec/mldonkey \
+ )
+
+.include "../../archivers/bzip2/buildlink2.mk"
+.include "../../devel/zlib/buildlink2.mk"
+.include "../../lang/ocaml/buildlink2.mk"
+.include "../../x11/lablgtk/buildlink2.mk"
+.include "../../mk/pthread.buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"