1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/net-p2p/rblibtorrent-devel/Makefile
Li-Wen Hsu 44103f8189 - Fix building with boost 1.37
PR:		ports/133041
Submitted by:	amdmi3
2009-04-07 12:26:52 +00:00

45 lines
1.1 KiB
Makefile

# New ports collection makefile for: rblibtorrent
# Date created: 5 February 2006
# Whom: Johan Ström <johan@stromnet.org>
#
# $FreeBSD$
#
PORTNAME= libtorrent
PORTVERSION= 0.14.2
PORTREVISION= 1
CATEGORIES= net-p2p
MASTER_SITES= SF
PKGNAMEPREFIX= rb
PKGNAMESUFFIX= -devel
DISTNAME= ${PORTNAME}-rasterbar-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A C++ library implementing a BitTorrent client (devel version)
LIB_DEPENDS= boost_date_time.4:${PORTSDIR}/devel/boost
CONFLICTS= rblibtorrent-[0-9]*
USE_GNOME= gnomehack
USE_OPENSSL= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --disable-debug \
--disable-python-binding \
--with-boost-filesystem=boost_filesystem \
--with-boost-thread=boost_thread \
--with-boost-regex=boost_regex \
--with-boost-program-options=boost_program_options \
--with-asio=system
USE_LDCONFIG= yes
USE_GCC= 4.2+
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
post-patch:
@${REINPLACE_CMD} -e '/if \[/s|==|=|g' ${WRKSRC}/configure
.include <bsd.port.mk>