freebsd-ports/net-p2p/cdonkey/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

39 lines
811 B
Makefile

# ex:ts=8
# Ports collection makefile for: cDonkey
# Date created: Feb 9, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= cdonkey
PORTVERSION= 0.9.0
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
PLIST_FILES= bin/cDonkey
USE_BZIP2= yes
USE_REINPLACE= yes
GNU_CONFIGURE= 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>
.if ${ARCH} != "i386"
BROKEN= "Does not compile on !i386"
.endif
post-patch:
@${REINPLACE_CMD} -e "s|-ldb|-ldb3|g" ${WRKSRC}/configure
.include <bsd.port.post.mk>