Date: Tue, 27 May 2014 14:47:44 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r355528 - head/graphics/py-exiv2 Message-ID: <201405271447.s4REliBg047536@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405271447.s4REliBg047536>