From owner-svn-ports-all@FreeBSD.ORG Tue May 27 13:08:57 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 12C0F966; Tue, 27 May 2014 13:08:57 +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 005682775; Tue, 27 May 2014 13:08:57 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4RD8uko001524; Tue, 27 May 2014 13:08:56 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4RD8utn001522; Tue, 27 May 2014 13:08:56 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201405271308.s4RD8utn001522@svn.freebsd.org> From: Baptiste Daroussin Date: Tue, 27 May 2014 13:08:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r355508 - head/graphics/mypaint 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 13:08:57 -0000 Author: bapt Date: Tue May 27 13:08:56 2014 New Revision: 355508 URL: http://svnweb.freebsd.org/changeset/ports/355508 QAT: https://qat.redports.org/buildarchive/r355508/ Log: If people find autotools/cmake being bad build system, they should try scons, I'm pretty sure they will end up loving autotools/cmake Modified: head/graphics/mypaint/Makefile Modified: head/graphics/mypaint/Makefile ============================================================================== --- head/graphics/mypaint/Makefile Tue May 27 12:48:15 2014 (r355507) +++ head/graphics/mypaint/Makefile Tue May 27 13:08:56 2014 (r355508) @@ -14,23 +14,20 @@ COMMENT= Fast painting/scribbling progra RUN_DEPENDS= ${PYTHON_SITELIBDIR}/numpy:${PORTSDIR}/math/py-numpy \ ${PYTHON_SITELIBDIR}/cairo:${PORTSDIR}/graphics/py-cairo \ ${PYTHON_PKGNAMEPREFIX}protobuf>0:${PORTSDIR}/devel/py-protobuf -LIB_DEPENDS= json:${PORTSDIR}/devel/json-c \ - lcms2:${PORTSDIR}/graphics/lcms2 +LIB_DEPENDS= libjson.so:${PORTSDIR}/devel/json-c \ + liblcms2.so:${PORTSDIR}/graphics/lcms2 BUILD_DEPENDS:= ${RUN_DEPENDS} \ swig:${PORTSDIR}/devel/swig13 \ protoc:${PORTSDIR}/devel/protobuf -USE_BZIP2= yes USE_GNOME= glib20 pygtk2 USE_PYTHON= yes -USE_SCONS= yes -SCONS_ARGS= prefix="${PREFIX}" -USES= gettext pkgconfig +MAKE_ARGS= prefix="${PREFIX}" +USES= gettext pkgconfig scons tar:bzip2 INSTALLS_ICONS= yes SUB_FILES= pkg-install -NO_STAGE= yes post-patch: ${REINPLACE_CMD} -e 's,,,' \ ${WRKSRC}/brushlib/operationqueue.c \ @@ -38,7 +35,13 @@ post-patch: @${REINPLACE_CMD} 's|-O3||g; s|-g||g' \ ${WRKSRC}/SConstruct -post-install: - @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL +pre-install: + @${RM} -rf ${WRKSRC}/sandbox 2>/dev/null || true + @cd ${WRKSRC}; ${MAKE_CMD} ${MAKE_ARGS} --install-sandbox=pre-stage + +do-install: +.for d in . po brushlib brushlib/po + @cd ${WRKSRC}/${d}/pre-stage; ${PAX} -rw . ${STAGEDIR} +.endfor .include