1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/graphics/mypaint/Makefile
William Grzybowski 4aa588c9c6 devel/json-c: update to 0.11
- Update to 0.11
- Bump revision of dependent ports
- Fix pkg-plist [1]

PR:		ports/182958
Submitted by:	zi, wg [1]
Approved by:	maintainer (timeout)
2013-11-09 15:57:18 +00:00

45 lines
1.1 KiB
Makefile

# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= mypaint
PORTVERSION= 1.1.0
PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://download.gna.org/mypaint/ \
http://mirror.amdmi3.ru/distfiles/
MAINTAINER= amdmi3@FreeBSD.org
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
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
INSTALLS_ICONS= yes
SUB_FILES= pkg-install
NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
${WRKSRC}/brushlib/operationqueue.c \
${WRKSRC}/brushlib/fifo.c
@${REINPLACE_CMD} 's|-O3||g; s|-g||g' \
${WRKSRC}/SConstruct
post-install:
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>