Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2013 14:15:00 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r311312 - head/net-p2p/libtorrent-rasterbar-16
Message-ID:  <201301311415.r0VEF0NE001250@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Thu Jan 31 14:14:59 2013
New Revision: 311312
URL: http://svnweb.freebsd.org/changeset/ports/311312

Log:
  - Convert NOPORTDOCS -> PORT_OPTIONS:MDOCS
  - Sort knobs and bring in minor whitespace changes

Modified:
  head/net-p2p/libtorrent-rasterbar-16/Makefile

Modified: head/net-p2p/libtorrent-rasterbar-16/Makefile
==============================================================================
--- head/net-p2p/libtorrent-rasterbar-16/Makefile	Thu Jan 31 13:40:49 2013	(r311311)
+++ head/net-p2p/libtorrent-rasterbar-16/Makefile	Thu Jan 31 14:14:59 2013	(r311312)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301311415.r0VEF0NE001250>