From owner-svn-ports-all@FreeBSD.ORG Tue May 27 14:47:44 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EE90886F; Tue, 27 May 2014 14:47:44 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DBA6121B3; Tue, 27 May 2014 14:47:44 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4REliBv047537; Tue, 27 May 2014 14:47:44 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4REliBg047536; Tue, 27 May 2014 14:47:44 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201405271447.s4REliBg047536@svn.freebsd.org> From: Baptiste Daroussin Date: Tue, 27 May 2014 14:47:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r355528 - head/graphics/py-exiv2 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.18 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: Tue, 27 May 2014 14:47:45 -0000 Author: bapt Date: Tue May 27 14:47:44 2014 New Revision: 355528 URL: http://svnweb.freebsd.org/changeset/ports/355528 QAT: https://qat.redports.org/buildarchive/r355528/ Log: Convert to USES=scons Stage support Modified: head/graphics/py-exiv2/Makefile Modified: head/graphics/py-exiv2/Makefile ============================================================================== --- head/graphics/py-exiv2/Makefile Tue May 27 14:47:21 2014 (r355527) +++ head/graphics/py-exiv2/Makefile Tue May 27 14:47:44 2014 (r355528) @@ -15,16 +15,12 @@ COMMENT= Python bindings for exiv2 LIB_DEPENDS= libexiv2.so:${PORTSDIR}/graphics/exiv2\ libboost_python.so:${PORTSDIR}/devel/boost-python-libs -USES= gmake tar:bzip2 +USES= scons tar:bzip2 USE_PYTHON= 2 -USE_SCONS= yes USE_LDCONFIG= yes -SCONS_ENV+= PREFIX=${PREFIX} CPPPATH=${PREFIX}/include LIBPATH=${PREFIX}/lib -SCONS_BUILDENV= ${SCONS_ENV} CXXFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" -SCONS_ARGS+= prefix=${PREFIX} use_env=1 +CXXFLAGS+= -I${LOCALBASE}/include +MAKE_ARGS+= prefix=${PREFIX} use_env=1 -NO_STAGE= yes post-patch: ${REINPLACE_CMD} -e 's|python_inc_path\]|python_inc_path,\ "${PREFIX}/include"\]|' -e 's|LIBS=libs|LIBS=libs,\ @@ -32,10 +28,9 @@ post-patch: ${WRKSRC}/src/SConscript post-install: - ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ - ${PYTHON_SITELIBDIR}/pyexiv2 + cd ${STAGEDIR}/${PYTHON_SITELIBDIR}/pyexiv2; ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py . regression-test: build - @cd ${WRKSRC} && ${SCONS_BIN} test + @cd ${WRKSRC} && ${MAKE_CMD} test .include