summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2003-03-26 08:56:21 +0000
committerijliao <ijliao@FreeBSD.org>2003-03-26 08:56:21 +0000
commit93bea4ceac454749f3a837f7177ec0b9d197f86b (patch)
tree84c166699d7161f13f7bd6385ba5af8d92974e8b
parent85f9291bc19cacd28d7393ed848eb82fd1530a5f (diff)
downloadFreeBSD-ports-93bea4ceac454749f3a837f7177ec0b9d197f86b.zip
FreeBSD-ports-93bea4ceac454749f3a837f7177ec0b9d197f86b.tar.gz
add cdonkey 0.8.9
An open and free core client for the eDonkey protocol
-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
-rw-r--r--net/Makefile1
-rw-r--r--net/cdonkey/Makefile30
-rw-r--r--net/cdonkey/distinfo1
-rw-r--r--net/cdonkey/files/patch-Makefile.in11
-rw-r--r--net/cdonkey/pkg-descr3
-rw-r--r--net/cdonkey/pkg-plist1
11 files changed, 93 insertions, 0 deletions
diff --git a/net-p2p/cdonkey/Makefile b/net-p2p/cdonkey/Makefile
new file mode 100644
index 0000000..eb867cd
--- /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 0000000..b91c03a
--- /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 0000000..eebc484
--- /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 0000000..b2d3cdc
--- /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 0000000..f30a1e7
--- /dev/null
+++ b/net-p2p/cdonkey/pkg-plist
@@ -0,0 +1 @@
+bin/cDonkey
diff --git a/net/Makefile b/net/Makefile
index af45624..4ecf782 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -47,6 +47,7 @@
SUBDIR += bsdproxy
SUBDIR += cap
SUBDIR += ccmsn
+ SUBDIR += cdonkey
SUBDIR += cdpd
SUBDIR += cdpr
SUBDIR += centericq
diff --git a/net/cdonkey/Makefile b/net/cdonkey/Makefile
new file mode 100644
index 0000000..eb867cd
--- /dev/null
+++ b/net/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/cdonkey/distinfo b/net/cdonkey/distinfo
new file mode 100644
index 0000000..b91c03a
--- /dev/null
+++ b/net/cdonkey/distinfo
@@ -0,0 +1 @@
+MD5 (cDonkey-0.8.9.tar.bz2) = a1a5eb43697b8f098f80709f017ab84c
diff --git a/net/cdonkey/files/patch-Makefile.in b/net/cdonkey/files/patch-Makefile.in
new file mode 100644
index 0000000..eebc484
--- /dev/null
+++ b/net/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/cdonkey/pkg-descr b/net/cdonkey/pkg-descr
new file mode 100644
index 0000000..b2d3cdc
--- /dev/null
+++ b/net/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/cdonkey/pkg-plist b/net/cdonkey/pkg-plist
new file mode 100644
index 0000000..f30a1e7
--- /dev/null
+++ b/net/cdonkey/pkg-plist
@@ -0,0 +1 @@
+bin/cDonkey
OpenPOWER on IntegriCloud