1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/graphics/mypaint/Makefile
Mathieu Arnold 2fc6fe3088 Update to 1.2.0.
PR:		209297
Submitted by:	tkato432 yahoo com
Sponsored by:	Absolight
2016-05-09 13:43:20 +00:00

49 lines
1.4 KiB
Makefile

# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= mypaint
PORTVERSION= 1.2.0
CATEGORIES= graphics
MASTER_SITES= https://github.com/mypaint/mypaint/releases/download/${PORTVERSION:S/^/v/}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Fast painting/scribbling program
LICENSE= GPLv2+ ISCL
LICENSE_COMB= multi
LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING
LICENSE_FILE_ISCL= ${WRKSRC}/brushlib/COPYING
BUILD_DEPENDS= swig13>0:devel/swig13 \
${PYNUMPY}
LIB_DEPENDS= libjson-c.so:devel/json-c \
liblcms2.so:graphics/lcms2
RUN_DEPENDS= ${PYNUMPY}
USE_GNOME= gtk30 pygobject3 librsvg2:run
MAKE_ARGS= prefix=${PREFIX} \
enable_profiling=False \
use_sharedlib=True \
python_binary="${PYTHON_CMD}" \
python_config="${PYTHON_CMD}-config"
# XXX gcc-c++11-lib to fix runtime issues with old -lgcc_s and Clang
USES= compiler:gcc-c++11-lib desktop-file-utils gettext localbase \
pkgconfig python:2 scons tar:xz
USE_CSTD= c99
INSTALL_TARGET= ${STAGEDIR} --install-sandbox=${STAGEDIR}
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
OPTIONS_DEFINE= GEGL
OPTIONS_SUB= yes
GEGL_DESC= Graph based image processing framework support
GEGL_LIB_DEPENDS= libgegl-0.3.so:graphics/gegl3
GEGL_MAKE_ARGS= enable_gegl=True
post-install:
${INSTALL_LIB} ${WRKSRC}/brushlib/libmypaint*.so ${STAGEDIR}${PREFIX}/lib
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mypaint/_mypaintlib.so
.include <bsd.port.mk>