mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
If people find autotools/cmake being bad build system, they should try scons, I'm pretty sure they will end up loving autotools/cmake
This commit is contained in:
parent
931c67cd8b
commit
9750e2deae
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355508
@ -14,23 +14,20 @@ COMMENT= Fast painting/scribbling program
|
||||
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>
|
||||
|
Loading…
Reference in New Issue
Block a user