From owner-svn-ports-all@FreeBSD.ORG Thu Jan 31 14:15:00 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7BFAD9E6; Thu, 31 Jan 2013 14:15:00 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 566D39AB; Thu, 31 Jan 2013 14:15:00 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0VEF0NY001253; Thu, 31 Jan 2013 14:15:00 GMT (envelope-from danfe@svn.freebsd.org) Received: (from danfe@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0VEF0NE001250; Thu, 31 Jan 2013 14:15:00 GMT (envelope-from danfe@svn.freebsd.org) Message-Id: <201301311415.r0VEF0NE001250@svn.freebsd.org> From: Alexey Dokuchaev Date: Thu, 31 Jan 2013 14:15:00 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jan 2013 14:15:00 -0000 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 -.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|/usr/local/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