blob: 9da78c567063ce805715c689611e1d8a84a4214f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# ex:ts=8
# Ports collection makefile for: cDonkey
# Date created: Feb 9, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= cdonkey
PORTVERSION= 0.9.0
PORTREVISION= 2
CATEGORIES= net-p2p
MASTER_SITES= http://www.sourcefiles.org/Internet/File_Sharing/Edonkey/
DISTNAME= cDonkey-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= An open and free core client for the eDonkey protocol
PLIST_FILES= bin/cDonkey
USE_BDB= 41
USE_BZIP2= yes
USE_AUTOTOOLS= libtool
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|-l${BDB_LIB_NAME}|g" ${WRKSRC}/configure
${REINPLACE_CMD} -e "s|/etc/|${LOCALBASE}/etc/|" \
${WRKSRC}/donkey.cpp ${WRKSRC}/donkey.h
.include <bsd.port.post.mk>
|