aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2003-03-26 08:56:21 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2003-03-26 08:56:21 +0000
commit402d50ab9bc2264135e9a00958d751da8a0345b9 (patch)
tree8c1dce66a17ea11bf7f32418b74376e1186e86c7 /net-p2p
parentb4939f08ab7eb191e6b15953e9bb29bff1c8ee42 (diff)
downloadports-402d50ab9bc2264135e9a00958d751da8a0345b9.tar.gz
ports-402d50ab9bc2264135e9a00958d751da8a0345b9.zip
Notes
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