aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2003-03-26 16:56:21 +0800
committerijliao <ijliao@FreeBSD.org>2003-03-26 16:56:21 +0800
commit93bea4ceac454749f3a837f7177ec0b9d197f86b (patch)
tree84c166699d7161f13f7bd6385ba5af8d92974e8b /net-p2p
parent85f9291bc19cacd28d7393ed848eb82fd1530a5f (diff)
downloadfreebsd-ports-gnome-93bea4ceac454749f3a837f7177ec0b9d197f86b.tar.gz
freebsd-ports-gnome-93bea4ceac454749f3a837f7177ec0b9d197f86b.tar.zst
freebsd-ports-gnome-93bea4ceac454749f3a837f7177ec0b9d197f86b.zip
add cdonkey 0.8.9
An open and free core client for the eDonkey protocol
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/cdonkey/Makefile30
-rw-r--r--net-p2p/cdonkey/distinfo1
-rw-r--r--net-p2p/cdonkey/files/patch-Makefile.in11
-rw-r--r--net-p2p/cdonkey/pkg-descr3
-rw-r--r--net-p2p/cdonkey/pkg-plist1
5 files changed, 46 insertions, 0 deletions
diff --git a/net-p2p/cdonkey/Makefile b/net-p2p/cdonkey/Makefile
new file mode 100644
index 000000000000..eb867cd8a9c9
--- /dev/null
+++ b/net-p2p/cdonkey/Makefile
@@ -0,0 +1,30 @@
+# ex:ts=8
+# Ports collection makefile for: cDonkey
+# Date created: Feb 9, 2003
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= cdonkey
+PORTVERSION= 0.8.9
+CATEGORIES= net
+MASTER_SITES= http://suche.org/
+DISTNAME= cDonkey-${PORTVERSION}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= An open and free core client for the eDonkey protocol
+
+LIB_DEPENDS= db3.3:${PORTSDIR}/databases/db3
+
+USE_BZIP2= yes
+USE_REINPLACE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-berkeley-db="${LOCALBASE}/include/db3:${LOCALBASE}/lib"
+USE_GMAKE= yes
+WRKSRC= ${WRKDIR}/cDonkey
+
+post-patch:
+ @${REINPLACE_CMD} -e "s|-ldb|-ldb3|g" ${WRKSRC}/configure
+
+.include <bsd.port.mk>
diff --git a/net-p2p/cdonkey/distinfo b/net-p2p/cdonkey/distinfo
new file mode 100644
index 000000000000..b91c03a484c6
--- /dev/null
+++ b/net-p2p/cdonkey/distinfo
@@ -0,0 +1 @@
+MD5 (cDonkey-0.8.9.tar.bz2) = a1a5eb43697b8f098f80709f017ab84c
diff --git a/net-p2p/cdonkey/files/patch-Makefile.in b/net-p2p/cdonkey/files/patch-Makefile.in
new file mode 100644
index 000000000000..eebc484d61f5
--- /dev/null
+++ b/net-p2p/cdonkey/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Wed Mar 26 16:52:39 2003
++++ Makefile.in Wed Mar 26 16:52:49 2003
+@@ -50,7 +50,7 @@
+ CPPFLAGS = @CPPFLAGS@
+ CXX = @CXX@
+ CXXDEPMODE = @CXXDEPMODE@
+-CXXFLAGS = @CXXFLAGS@ -W -Wall -Wunused -Wformat -Wshadow -Wmultichar -Wpointer-arith -Wcast-qual -Wswitch -Werror @SVN_DB_INCLUDES@
++CXXFLAGS = @CXXFLAGS@ @SVN_DB_INCLUDES@
+ CYGPATH_W = @CYGPATH_W@
+ DEFS = @DEFS@
+ DEPDIR = @DEPDIR@
diff --git a/net-p2p/cdonkey/pkg-descr b/net-p2p/cdonkey/pkg-descr
new file mode 100644
index 000000000000..b2d3cdcd83b3
--- /dev/null
+++ b/net-p2p/cdonkey/pkg-descr
@@ -0,0 +1,3 @@
+cDonkey is an open and free core client for the eDonkey protocol.
+
+WWW: http://cdonkey.suche.org/
diff --git a/net-p2p/cdonkey/pkg-plist b/net-p2p/cdonkey/pkg-plist
new file mode 100644
index 000000000000..f30a1e76b182
--- /dev/null
+++ b/net-p2p/cdonkey/pkg-plist
@@ -0,0 +1 @@
+bin/cDonkey