svn commit: r355508 - head/graphics/mypaint
Baptiste Daroussin
bapt at FreeBSD.org
Tue May 27 13:08:57 UTC 2014
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,<malloc.h>,<stdlib.h>,' \
${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 <bsd.port.mk>
More information about the svn-ports-head
mailing list