1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/graphics/mypaint/Makefile
Sunpoet Po-Chuan Hsieh 29632fcc45 Update devel/json-c to 0.13.1
- Add my LOCAL to MASTER_SITES
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://github.com/json-c/json-c/blob/master/ChangeLog
PR:		231007
Exp-run by:	antoine
2018-09-05 22:01:55 +00:00

57 lines
1.6 KiB
Makefile

# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= mypaint
PORTVERSION= 1.2.1
PORTREVISION= 2
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= swig3.0:devel/swig30 \
${PYNUMPY}
LIB_DEPENDS= libjson-c.so:devel/json-c \
liblcms2.so:graphics/lcms2
RUN_DEPENDS= ${PYNUMPY}
BINARY_ALIAS= swig=swig3.0
USE_GNOME= gtk30 pygobject3 librsvg2:run
CFLAGS+= ${CFLAGS_${CHOSEN_COMPILER_TYPE}}
CFLAGS_gcc= -std=c99
MAKE_ARGS= prefix=${PREFIX} \
enable_profiling=False \
use_sharedlib=True \
python_binary="${PYTHON_CMD}" \
python_config="${PYTHON_CMD}-config"
# XXX Embed RPATH via USES=fortran for py-numpy to load libgcc_s.so from ports
USES= desktop-file-utils fortran gettext localbase \
pkgconfig python:2.7 scons tar:xz
INSTALL_TARGET= ${STAGEDIR} --install-sandbox=${STAGEDIR}
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
OPTIONS_DEFINE= GEGL OPENMP
OPTIONS_DEFAULT= OPENMP
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
OPENMP_USES= compiler:openmp
OPENMP_USES_OFF= compiler # XXX ports/199603
OPENMP_MAKE_ARGS_OFF= enable_openmp=False
post-install:
${INSTALL_LIB} ${WRKSRC}/brushlib/libmypaint*.so ${STAGEDIR}${PREFIX}/lib
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mypaint/_mypaintlib.so
.include <bsd.port.mk>