summaryrefslogtreecommitdiffstats
path: root/net/libtorrent/Makefile
blob: 10be87278f81cb69ef835a71109d79abe17fbbe5 (plain)
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
# New ports collection makefile for:	libtorrent
# Date created:				Jan 07 2005
# Whom:					Florent Thoumie <flz@xbsd.org>
#
# $FreeBSD$
#

PORTNAME=	libtorrent
PORTVERSION=	0.6.4
CATEGORIES=	net
MASTER_SITES=	http://libtorrent.rakshasa.no/downloads/

MAINTAINER=	flz@FreeBSD.org
COMMENT=	BitTorrent Library written in C++

LIB_DEPENDS=	sigc-2.0.0:${PORTSDIR}/devel/libsigc++20

USE_GCC=	3.4
USE_GNOME=	pkgconfig gnomehack
USE_REINPLACE=	yes
INSTALLS_SHLIB=	yes
USE_INC_LIBTOOL_VER=	13
CONFIGURE_ARGS=	--disable-debug
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}

post-patch:
	@${REINPLACE_CMD} -e 's/-O3/${CFLAGS}/' ${WRKSRC}/configure
	@${REINPLACE_CMD} -e '/malloc\.h/d' ${WRKSRC}/src/utils/sha_fast.cc

.include <bsd.port.mk>
OpenPOWER on IntegriCloud