mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-16 05:21:16 +02:00
33 lines
941 B
Makefile
33 lines
941 B
Makefile
# Created by: Doug Barton <dougb@FreeBSD.org>
|
|
# $FreeBSD: head/net-p2p/libtorrent-rasterbar/Makefile 514143 2019-10-09 12:17:15Z bapt $
|
|
|
|
PORTNAME= libtorrent-rasterbar
|
|
DISTVERSION= 1.1.10
|
|
CATEGORIES= net-p2p
|
|
MASTER_SITES= https://github.com/arvidn/libtorrent/releases/download/libtorrent-${PORTVERSION:S/./_/g}/
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= C++ library implementing a BitTorrent client
|
|
|
|
LIB_DEPENDS= libboost_chrono.so:devel/libboost64 \
|
|
libboost_random.so:devel/libboost64 \
|
|
libboost_system.so:devel/libboost64
|
|
|
|
USES= compiler:c++14-lang iconv:wchar_t pkgconfig ssl
|
|
USE_LDCONFIG= yes
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -liconv
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|/usr/local/include|${PREFIX}/include|' \
|
|
${WRKSRC}/Jamfile
|
|
|
|
post-install:
|
|
${RM} ${STAGEDIR}${PREFIX}/include/libtorrent/tommath.h.orig ${STAGEDIR}${PREFIX}/include/libtorrent/Makefile*
|
|
|
|
|
|
.include <bsd.port.mk>
|