Date: Fri, 23 Nov 2012 02:27:09 +0000 (UTC) From: Dima Panov <fluffy@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r307668 - head/graphics/vigra Message-ID: <201211230227.qAN2R97w017879@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: fluffy Date: Fri Nov 23 02:27:09 2012 New Revision: 307668 URL: http://svnweb.freebsd.org/changeset/ports/307668 Log: - Control of Python dependency PR: 173772 Submitted by: Mamoru Sakaue Feature safe: yes Modified: head/graphics/vigra/Makefile (contents, props changed) Modified: head/graphics/vigra/Makefile ============================================================================== --- head/graphics/vigra/Makefile Thu Nov 22 21:39:32 2012 (r307667) +++ head/graphics/vigra/Makefile Fri Nov 23 02:27:09 2012 (r307668) @@ -11,6 +11,7 @@ PORTNAME= vigra PORTVERSION= 1.8.0 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://hci.iwr.uni-heidelberg.de/vigra/ DISTNAME= ${PORTNAME}-${PORTVERSION}-src @@ -27,6 +28,19 @@ CMAKE_ARGS= -DDEPENDENCY_SEARCH_PREFIX:P USE_LDCONFIG= yes +OPTIONS= PYTHON "Python bindings" off + +.include <bsd.port.options.mk> + +.if defined(WITH_PYTHON) +CONFLICTS_BUILD= python3* +USE_PYTHON= 2.6-2.7 +.else +CMAKE_ARGS+= -DWITH_VIGRANUMPY=0 +.endif + +.include <bsd.port.pre.mk> + # Vigra's CMakeLists.txt does not support disabling those so we hook them # as dependencies here unconditionally (without OPTIONS=) even though if # they are not present then Vigra/CMake will do without them (they are not @@ -67,4 +81,4 @@ post-patch: # FIXME: This is ugly @${RM} ${WRKSRC}/include/vigra/*.orig -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211230227.qAN2R97w017879>