1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00

net-p2p/libtorrent-rasterbar

- Update to 0.16.12
- Rename from net-p2p/libtorrent-rasterbar-16 to net-p2p/libtorrent-rasterbar
- Remove conflict with deprecated Port
- Add pkg-message
- Support STAGEDIR

net-p2p/libtorrent-rasterbar-python

- Rename from net-p2p/libtorrent-rasterbar-python-16 to net-p2p/libtorrent-rasterbar-python
- Change comment and MASTERDIR
- Change dependency to net-p2p/libtorrent-rasterbar
- Add SLAVE_PORT=yes

Approved by:	wg (mentor)
This commit is contained in:
Rusmir Dusko 2013-11-06 11:42:15 +00:00
parent c060db7dbd
commit a878f09f22
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332965
8 changed files with 29 additions and 25 deletions

2
MOVED
View File

@ -5167,3 +5167,5 @@ textproc/p5-Text-Emoticon-MSN||2013-11-03|Has expired: Primary MSN Messenger ser
textproc/jakarta-poi|textproc/apache-poi|2013-11-04|Replaced with apache-poi
net-im/qutim||2013-11-05|Has expired: Old version, a new one needs to be ported from scratch
textproc/gtkdiff||2013-11-05|Has expired: Gnome1 EOLed by upstream for a while.
net-p2p/libtorrent-rasterbar-16|net-p2p/libtorrent-rasterbar|2013-11-06|Moved to net-p2p/libtorrent-rasterbar since it's a stable version
net-p2p/libtorrent-rasterbar-python-16|net-p2p/libtorrent-rasterbar-python|2013-11-06|Moved to net-p2p/libtorrent-rasterbar-python since it's a stable version

View File

@ -1,2 +0,0 @@
SHA256 (libtorrent-rasterbar-0.16.11.tar.gz) = 09dc00f8ab9c90327cdfa46c4a68b59ebd3a949c8bfb641b4a99e974d49ad2e5
SIZE (libtorrent-rasterbar-0.16.11.tar.gz) = 2989445

View File

@ -4,16 +4,17 @@
CATEGORIES= net-p2p python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
COMMENT= Python bindings for libtorrent-rasterbar-16
COMMENT= Python bindings for libtorrent-rasterbar
LIB_DEPENDS= libtorrent-rasterbar.so:${PORTSDIR}/net-p2p/libtorrent-rasterbar-16 \
LIB_DEPENDS= libtorrent-rasterbar.so:${PORTSDIR}/net-p2p/libtorrent-rasterbar \
libboost_python.so:${PORTSDIR}/devel/boost-python-libs
MASTERDIR= ${.CURDIR}/../libtorrent-rasterbar-16
MASTERDIR= ${.CURDIR}/../libtorrent-rasterbar
BUILD_WRKSRC= ${WRKSRC}/bindings/python
INSTALL_WRKSRC= ${BUILD_WRKSRC}
SLAVE_PORT= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= python_libtorrent
@ -27,5 +28,4 @@ OPTIONS_EXCLUDE= DOCS EXAMPLES
CONFIGURE_ENV= PYTHON_INCLUDEDIR="${PYTHON_INCLUDEDIR}" \
PYTHON_VERSION="${PYTHON_VERSION}"
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= libtorrent-rasterbar
PORTVERSION= 0.16.11
PORTVERSION= 0.16.12
CATEGORIES?= net-p2p ipv6
MASTER_SITES= GOOGLE_CODE
PROJECTHOST= libtorrent
@ -20,9 +20,6 @@ USE_OPENSSL= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFLICTS+= libtorrent-rasterbar-0.1[45789].*
NO_LATEST_LINK= yes
CONFIGURE_ARGS+= --disable-debug \
--disable-static \
--enable-dht \
@ -36,6 +33,8 @@ CONFIGURE_ARGS+= --disable-debug \
--with-libiconv \
--with-openssl=${OPENSSLBASE}
SUB_FILES= pkg-message
PORTDOCS= *
DOCSRCDIR1= ${WRKSRC}
@ -49,9 +48,6 @@ PORTEXAMPLES= *.cpp
OPTIONS_DEFINE= DOCS EXAMPLES
NO_STAGE= yes
.include <bsd.port.options.mk>
.if defined(SLAVE_PORT) && ${SLAVE_PORT:L} == "yes" && defined(USE_PYTHON)
CONFIGURE_ARGS+= --enable-python-binding \
--with-boost-python=boost_python
@ -64,15 +60,12 @@ post-patch:
${WRKSRC}/Jamfile
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${DOCSDIR}
@${MKDIR} ${DOCSDIR2}
${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${DOCSDIR2}
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${EXAMPLESDIR}
.endif
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR2}
${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (libtorrent-rasterbar-0.16.12.tar.gz) = e8b1cb35d4642e77ac2ab0c73773455c1d0c517cae42060d657da4463eec5668
SIZE (libtorrent-rasterbar-0.16.12.tar.gz) = 3002825

View File

@ -0,0 +1,9 @@
===============================================================================
libtorrent-rasterbar has been installed.
When you have problems please reinstall
devel/boost-libs
===============================================================================

View File

@ -137,7 +137,7 @@ lib/libtorrent-rasterbar.la
lib/libtorrent-rasterbar.so
lib/libtorrent-rasterbar.so.7
libdata/pkgconfig/libtorrent-rasterbar.pc
@dirrm include/libtorrent/aux_
@dirrm include/libtorrent/extensions
@dirrm include/libtorrent/kademlia
@dirrm include/libtorrent/extensions
@dirrm include/libtorrent/aux_
@dirrm include/libtorrent