blob: 3829e28c4168b96d3b03d13b9330c2bafe37755c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# $NetBSD: Makefile,v 1.25 2017/01/01 14:43:42 wiz Exp $
DISTNAME= mypaint-1.1.0
PKGREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://download.gna.org/mypaint/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= http://mypaint.intilinux.com/
COMMENT= Fast and easy open-source graphics application for digital painters
LICENSE= gnu-gpl-v2
BUILD_DEPENDS+= scons-[0-9]*:../../devel/scons
DEPENDS+= ${PYPKGPREFIX}-gtk2-[0-9]*:../../x11/py-gtk2
USE_LANGUAGES= c c++
USE_TOOLS+= bash:run msgfmt pkg-config
PYTHON_VERSIONED_DEPENDENCIES= cairo
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # py-gtk2
USE_PKGLOCALEDIR= yes
SUBST_CLASSES+= python
SUBST_STAGE.python= pre-configure
SUBST_FILES.python= SConscript
SUBST_VARS.python= PYTHONBIN
LDFLAGS+= -lintl
REPLACE_BASH= brushes/label-brush-mypaint.sh
do-build:
cd ${WRKSRC} && cd ${BUILD_DIRS} && \
${SETENV} ${MAKE_ENV} \
${LOCALBASE}/bin/scons prefix=${DESTDIR}${PREFIX}
do-install:
cd ${WRKSRC} && cd ${INSTALL_DIRS} && \
${SETENV} ${MAKE_ENV} \
${LOCALBASE}/bin/scons prefix=${DESTDIR}${PREFIX} install
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/swig2/buildlink3.mk"
.include "../../textproc/json-c/buildlink3.mk"
.include "../../graphics/lcms2/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../devel/py-gobject/buildlink3.mk"
.include "../../math/py-numpy/buildlink3.mk"
.include "../../lang/python/versioned_dependencies.mk"
.include "../../lang/python/pyversion.mk"
.include "../../mk/bsd.pkg.mk"
|