summaryrefslogtreecommitdiff
path: root/net-p2p/cdonkey
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2011-03-21 18:50:39 +0000
committerMatthias Andree <mandree@FreeBSD.org>2011-03-21 18:50:39 +0000
commit9389973bf313189d0baef1dcebbd42bcaa4388ce (patch)
tree9a61764fd2fa20bbb38fb54e3a645854103cddd9 /net-p2p/cdonkey
parentDeprecate port. It's broken on at least i386 and amd64, (diff)
Bump Berkeley DB version to 4.1.
Remove MD5 checksum.
Notes
Notes: svn path=/head/; revision=271414
Diffstat (limited to 'net-p2p/cdonkey')
-rw-r--r--net-p2p/cdonkey/Makefile9
-rw-r--r--net-p2p/cdonkey/distinfo1
2 files changed, 4 insertions, 6 deletions
diff --git a/net-p2p/cdonkey/Makefile b/net-p2p/cdonkey/Makefile
index b34fe29f1034..9da78c567063 100644
--- a/net-p2p/cdonkey/Makefile
+++ b/net-p2p/cdonkey/Makefile
@@ -8,7 +8,7 @@
PORTNAME= cdonkey
PORTVERSION= 0.9.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net-p2p
MASTER_SITES= http://www.sourcefiles.org/Internet/File_Sharing/Edonkey/
DISTNAME= cDonkey-${PORTVERSION}
@@ -16,19 +16,18 @@ 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
-
PLIST_FILES= bin/cDonkey
+USE_BDB= 41
USE_BZIP2= yes
USE_AUTOTOOLS= libtool
-CONFIGURE_ARGS= --with-berkeley-db="${LOCALBASE}/include/db3:${LOCALBASE}/lib"
+CONFIGURE_ARGS= --with-berkeley-db="${BDB_INCLUDE_DIR}:${BDB_LIB_DIR}"
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/cDonkey-${PORTVERSION}
.include <bsd.port.pre.mk>
post-patch:
- ${REINPLACE_CMD} -e "s|-ldb|-ldb3|g" ${WRKSRC}/configure
+ ${REINPLACE_CMD} -e "s|-ldb|-l${BDB_LIB_NAME}|g" ${WRKSRC}/configure
${REINPLACE_CMD} -e "s|/etc/|${LOCALBASE}/etc/|" \
${WRKSRC}/donkey.cpp ${WRKSRC}/donkey.h
diff --git a/net-p2p/cdonkey/distinfo b/net-p2p/cdonkey/distinfo
index a4e807d8c33a..b7f6eca08fe1 100644
--- a/net-p2p/cdonkey/distinfo
+++ b/net-p2p/cdonkey/distinfo
@@ -1,3 +1,2 @@
-MD5 (cDonkey-0.9.0.tar.bz2) = 04c7b16e2aeb18a246e9892ba6fe7b7a
SHA256 (cDonkey-0.9.0.tar.bz2) = 4b6bf726d3fc0bee06b971c35034d43293b37419a09637785e4c572d8779c7f3
SIZE (cDonkey-0.9.0.tar.bz2) = 334586