mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
53d95a4d11
PR: 97503 Submitted by: Dan Ponte <dcp1990@neptune.atopia.net> - Move location of global config file from /etc to LOCALBASE/etc - Bump PORTREVISION
36 lines
819 B
Makefile
36 lines
819 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: cDonkey
|
|
# Date created: Feb 9, 2003
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= cdonkey
|
|
PORTVERSION= 0.9.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= net-p2p
|
|
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
|
|
|
|
PLIST_FILES= bin/cDonkey
|
|
USE_BZIP2= yes
|
|
USE_AUTOTOOLS= libtool:15
|
|
CONFIGURE_ARGS= --with-berkeley-db="${LOCALBASE}/include/db3:${LOCALBASE}/lib"
|
|
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|/etc/|${LOCALBASE}/etc/|" \
|
|
${WRKSRC}/donkey.cpp ${WRKSRC}/donkey.h
|
|
|
|
.include <bsd.port.post.mk>
|