summaryrefslogtreecommitdiff
path: root/net-p2p/cdonkey/Makefile
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/Makefile
parentDeprecate port. It's broken on at least i386 and amd64, (diff)
Bump Berkeley DB version to 4.1.
Remove MD5 checksum.
Diffstat (limited to 'net-p2p/cdonkey/Makefile')
-rw-r--r--net-p2p/cdonkey/Makefile9
1 files changed, 4 insertions, 5 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