summaryrefslogtreecommitdiff
path: root/net-p2p/cdonkey/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/cdonkey/Makefile')
-rw-r--r--net-p2p/cdonkey/Makefile30
1 files changed, 30 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>