summaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2013-01-31 14:14:59 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2013-01-31 14:14:59 +0000
commit2c14bd88c0c9a4240e9854262f0b48f2767d65b4 (patch)
treea007d97c7e3e51bc26de01aa047151374063f878 /net-p2p
parent- update to 1.2.0 (that's required for our current devel/py-dateutil version) (diff)
- Convert NOPORTDOCS -> PORT_OPTIONS:MDOCS
- Sort knobs and bring in minor whitespace changes
Notes
Notes: svn path=/head/; revision=311312
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/libtorrent-rasterbar-16/Makefile26
1 files changed, 14 insertions, 12 deletions
diff --git a/net-p2p/libtorrent-rasterbar-16/Makefile b/net-p2p/libtorrent-rasterbar-16/Makefile
index 48b728846505..0259a576bf3f 100644
--- a/net-p2p/libtorrent-rasterbar-16/Makefile
+++ b/net-p2p/libtorrent-rasterbar-16/Makefile
@@ -19,12 +19,13 @@ NO_LATEST_LINK= yes
LIB_DEPENDS+= boost_date_time:${PORTSDIR}/devel/boost-libs \
GeoIP:${PORTSDIR}/net/GeoIP
-USE_PKGCONFIG= build
+GNU_CONFIGURE= yes
USE_GNOME= gnomehack
-USE_OPENSSL= yes
USE_ICONV= yes
+USE_LDCONFIG= yes
+USE_OPENSSL= yes
+USE_PKGCONFIG= build
-GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-debug \
--disable-static \
--enable-dht \
@@ -37,38 +38,39 @@ CONFIGURE_ARGS+= --disable-debug \
--with-libgeoip \
--with-openssl=${OPENSSLBASE}
-USE_LDCONFIG= yes
+PORTDOCS= *
+
+OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
-.if defined(SLAVE_PORT) && ${SLAVE_PORT:L}=="yes" && defined(USE_PYTHON)
+.if defined(SLAVE_PORT) && ${SLAVE_PORT:L} == "yes" && defined(USE_PYTHON)
CONFIGURE_ARGS+= --enable-python-binding \
--with-boost-python=boost_python
.else
CONFIGURE_ARGS+= --disable-python-binding
.endif
-.if defined(SLAVE_PORT) && ${SLAVE_PORT:L}=="yes"
-post-patch: slave-post-patch
+.if defined(SLAVE_PORT) && ${SLAVE_PORT:L} == "yes"
+post-patch: slave-post-patch
.else
post-patch:
@${REINPLACE_CMD} -e 's|<include>/usr/local/include|<include>${PREFIX}/include|' \
${WRKSRC}/Jamfile
.endif
-.if defined(SLAVE_PORT) && ${SLAVE_PORT:L}=="yes"
-post-install: slave-post-install
+.if defined(SLAVE_PORT) && ${SLAVE_PORT:L} == "yes"
+post-install: slave-post-install
.else
post-install:
.endif
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/*.html ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/*.css ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/*.gif ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/*.jpg ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/*.png ${DOCSDIR}
-PORTDOCS= *
.endif
.include <bsd.port.post.mk>