diff options
author | Rusmir Dusko <nemysis@FreeBSD.org> | 2014-02-03 22:43:37 +0000 |
---|---|---|
committer | Rusmir Dusko <nemysis@FreeBSD.org> | 2014-02-03 22:43:37 +0000 |
commit | 047b835b8d9d46f95a68c97296f0cd7565e28cbb (patch) | |
tree | 03d220c1042c32cf9709f16a8cd947c7cac97e55 /net-p2p | |
parent | 24114b8f1963767fd48b22b5354aa1aa2e25ca89 (diff) | |
download | ports-047b835b8d9d46f95a68c97296f0cd7565e28cbb.tar.gz ports-047b835b8d9d46f95a68c97296f0cd7565e28cbb.zip |
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/libtorrent-rasterbar-python/Makefile | 2 | ||||
-rw-r--r-- | net-p2p/libtorrent-rasterbar/Makefile | 23 | ||||
-rw-r--r-- | net-p2p/libtorrent-rasterbar/pkg-plist | 2 |
3 files changed, 21 insertions, 6 deletions
diff --git a/net-p2p/libtorrent-rasterbar-python/Makefile b/net-p2p/libtorrent-rasterbar-python/Makefile index e8d51c2d0c9b..bd8edc7a22c9 100644 --- a/net-p2p/libtorrent-rasterbar-python/Makefile +++ b/net-p2p/libtorrent-rasterbar-python/Makefile @@ -22,7 +22,7 @@ PYDISTUTILS_PKGNAME= python_libtorrent PLIST= ${NONEXISTENT} PLIST_FILES= %%PYTHON_SITELIBDIR%%/libtorrent.so -OPTIONS_EXCLUDE= DOCS EXAMPLES +OPTIONS_EXCLUDE= DOCS EXAMPLES STRIP # insure python paths are correctly identified CONFIGURE_ENV= PYTHON_INCLUDEDIR="${PYTHON_INCLUDEDIR}" \ diff --git a/net-p2p/libtorrent-rasterbar/Makefile b/net-p2p/libtorrent-rasterbar/Makefile index 570d6b86b17d..6aae1f2645cb 100644 --- a/net-p2p/libtorrent-rasterbar/Makefile +++ b/net-p2p/libtorrent-rasterbar/Makefile @@ -5,13 +5,12 @@ PORTNAME= libtorrent-rasterbar PORTVERSION= 0.16.13 PORTREVISION= 2 CATEGORIES?= net-p2p ipv6 -MASTER_SITES= GOOGLE_CODE -PROJECTHOST= libtorrent +MASTER_SITES= SF/${PORTNAME:S/-rasterbar//}/${PORTNAME:S/-rasterbar//}/ MAINTAINER= nemysis@FreeBSD.org COMMENT?= C++ library implementing a BitTorrent client -LICENSE= BSD +LICENSE= BSD3CLAUSE LIB_DEPENDS?= libboost_date_time.so:${PORTSDIR}/devel/boost-libs \ libGeoIP.so:${PORTSDIR}/net/GeoIP @@ -19,8 +18,12 @@ LIB_DEPENDS?= libboost_date_time.so:${PORTSDIR}/devel/boost-libs \ USES= compiler:c++11-lang pathfix pkgconfig iconv USE_OPENSSL= yes GNU_CONFIGURE= yes +CFLAGS+= -w USE_LDCONFIG= yes +# Wrong versioning upstream +PORTSCOUT= skipv:0.16.14 + CONFIGURE_ARGS= --disable-debug \ --disable-static \ --enable-dht \ @@ -34,6 +37,9 @@ CONFIGURE_ARGS= --disable-debug \ --with-libiconv \ --with-openssl=${OPENSSLBASE} +SHLIB_VER= 7 +PLIST_SUB+= SHLIB_VER="${SHLIB_VER}" + SUB_FILES= pkg-message PORTDOCS= * @@ -47,7 +53,8 @@ DOC_FILES2= *.png *.jpg *.gif *.html *.rst *.css PORTEXAMPLES= *.cpp -OPTIONS_DEFINE= DOCS EXAMPLES +OPTIONS_DEFINE= DOCS EXAMPLES STRIP +OPTIONS_DEFAULT= STRIP .include <bsd.port.options.mk> @@ -63,6 +70,14 @@ post-patch: ${WRKSRC}/Jamfile post-install: +.if ${PORT_OPTIONS:MSTRIP} + ${STRIP_CMD} \ + ${STAGEDIR}${PREFIX}/lib/libtorrent-rasterbar.so.${SHLIB_VER} +.else + ${STRIP_CMD} \ + ${STAGEDIR}${PREFIX}/lib/${PYTHON_VERSION}/site-packages/libtorrent.so +.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR2} diff --git a/net-p2p/libtorrent-rasterbar/pkg-plist b/net-p2p/libtorrent-rasterbar/pkg-plist index 8badb60d3957..6dbdf41fa7dc 100644 --- a/net-p2p/libtorrent-rasterbar/pkg-plist +++ b/net-p2p/libtorrent-rasterbar/pkg-plist @@ -135,7 +135,7 @@ include/libtorrent/web_peer_connection.hpp include/libtorrent/xml_parse.hpp lib/libtorrent-rasterbar.la lib/libtorrent-rasterbar.so -lib/libtorrent-rasterbar.so.7 +lib/libtorrent-rasterbar.so.%%SHLIB_VER%% libdata/pkgconfig/libtorrent-rasterbar.pc @dirrm include/libtorrent/kademlia @dirrm include/libtorrent/extensions |