Lines 2-14
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= libtorrent-rasterbar |
4 |
PORTNAME= libtorrent-rasterbar |
5 |
PORTVERSION= 1.1.4 |
5 |
DISTVERSIONPREFIX= ${GH_PROJECT}- |
6 |
PORTREVISION= 3 |
6 |
DISTVERSION= 1_1_5-41 |
|
|
7 |
DISTVERSIONSUFFIX= -g43d7f980d |
7 |
CATEGORIES?= net-p2p ipv6 |
8 |
CATEGORIES?= net-p2p ipv6 |
8 |
MASTER_SITES= https://github.com/arvidn/libtorrent/releases/download/libtorrent-${PORTVERSION:S/./_/g}/ |
|
|
9 |
|
10 |
PATCH_SITES= https://github.com/arvidn/libtorrent/commit/ |
11 |
PATCHFILES= 7eb3cf6bc6db.patch:-p1 |
12 |
|
9 |
|
13 |
MAINTAINER= rezny@FreeBSD.org |
10 |
MAINTAINER= rezny@FreeBSD.org |
14 |
COMMENT?= C++ library implementing a BitTorrent client |
11 |
COMMENT?= C++ library implementing a BitTorrent client |
Lines 21-27
LIB_DEPENDS+= libboost_chrono.so:devel/boost-libs \
Link Here
|
21 |
|
18 |
|
22 |
BROKEN_powerpc64= fails to build: client_test.cpp: undefined reference to std::__cxx11::basic_string |
19 |
BROKEN_powerpc64= fails to build: client_test.cpp: undefined reference to std::__cxx11::basic_string |
23 |
|
20 |
|
24 |
USES+= compiler:c++11-lib iconv:wchar_t libtool pathfix pkgconfig ssl |
21 |
USE_GITHUB= yes |
|
|
22 |
GH_ACCOUNT= arvidn |
23 |
GH_PROJECT= libtorrent |
24 |
|
25 |
USES+= autoreconf:build compiler:c++11-lib iconv:wchar_t libtool pathfix pkgconfig ssl |
25 |
USE_CXXSTD= c++11 |
26 |
USE_CXXSTD= c++11 |
26 |
GNU_CONFIGURE= yes |
27 |
GNU_CONFIGURE= yes |
27 |
USE_LDCONFIG= yes |
28 |
USE_LDCONFIG= yes |
Lines 44-49
PORTDOCS= ${DOCFILES} docs/*
Link Here
|
44 |
PORTEXAMPLES= *.cpp |
45 |
PORTEXAMPLES= *.cpp |
45 |
|
46 |
|
46 |
OPTIONS_DEFINE= DEBUG DOCS EXAMPLES LOGGING TEST |
47 |
OPTIONS_DEFINE= DEBUG DOCS EXAMPLES LOGGING TEST |
|
|
48 |
OPTIONS_DEFAULT=LOGGING |
47 |
OPTIONS_SUB= yes |
49 |
OPTIONS_SUB= yes |
48 |
LOGGING_DESC= Enable disk stat logging and logging to disk |
50 |
LOGGING_DESC= Enable disk stat logging and logging to disk |
49 |
|
51 |
|
Lines 63-68
CONFIGURE_ARGS+= --disable-python-binding
Link Here
|
63 |
post-patch: |
65 |
post-patch: |
64 |
@${REINPLACE_CMD} -e 's|/usr/local/include|${PREFIX}/include|' \ |
66 |
@${REINPLACE_CMD} -e 's|/usr/local/include|${PREFIX}/include|' \ |
65 |
${WRKSRC}/Jamfile |
67 |
${WRKSRC}/Jamfile |
|
|
68 |
@${REINPLACE_CMD} -e '/LIBTORRENT_VERSION/s/".*"/"${PORTVERSION}"/' \ |
69 |
-e '/LIBTORRENT_REVISION/s/".*"/"${GH_TAGNAME:C/.*-g//}"/' \ |
70 |
${WRKSRC}/include/libtorrent/version.hpp |
71 |
|
72 |
pre-configure: |
73 |
@(cd ${WRKSRC} && ./autotool.sh) |
66 |
|
74 |
|
67 |
post-configure: |
75 |
post-configure: |
68 |
${FIND} ${WRKSRC} -name Makefile -o -name link_flags | \ |
76 |
${FIND} ${WRKSRC} -name Makefile -o -name link_flags | \ |