2015-04-25 16:22:51 +02:00
|
|
|
# $NetBSD: Makefile,v 1.20 2015/04/25 14:23:17 tnn Exp $
|
2010-12-23 12:45:32 +01:00
|
|
|
|
2015-03-15 05:51:31 +01:00
|
|
|
DISTNAME= mypaint-1.1.0
|
2015-04-25 16:22:51 +02:00
|
|
|
PKGREVISION= 1
|
2010-12-23 12:45:32 +01:00
|
|
|
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
|
|
|
|
|
2014-01-25 11:29:56 +01:00
|
|
|
BUILD_DEPENDS+= scons-[0-9]*:../../devel/scons
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-gtk2-[0-9]*:../../x11/py-gtk2
|
|
|
|
|
2015-03-15 05:51:31 +01:00
|
|
|
USE_LANGUAGES= c c++
|
2010-12-23 12:45:32 +01:00
|
|
|
|
|
|
|
USE_TOOLS+= bash:run msgfmt pkg-config
|
|
|
|
|
2014-01-25 11:29:56 +01:00
|
|
|
PYTHON_VERSIONED_DEPENDENCIES= cairo
|
2014-05-09 09:36:53 +02:00
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # py-gtk2
|
2010-12-23 12:45:32 +01:00
|
|
|
|
|
|
|
FIND_PREFIX:= SCONSDIR=scons
|
|
|
|
.include "../../mk/find-prefix.mk"
|
|
|
|
|
|
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
|
2011-05-04 13:16:23 +02:00
|
|
|
SUBST_CLASSES+= python
|
|
|
|
SUBST_STAGE.python= pre-configure
|
2015-03-15 05:51:31 +01:00
|
|
|
SUBST_FILES.python= SConscript
|
|
|
|
SUBST_VARS.python= PYTHONBIN
|
|
|
|
|
|
|
|
LDFLAGS+= -lintl
|
2011-05-04 13:16:23 +02:00
|
|
|
|
2010-12-23 12:45:32 +01:00
|
|
|
REPLACE_BASH= brushes/label-brush-mypaint.sh
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC} && cd ${BUILD_DIRS} && \
|
|
|
|
${SETENV} ${MAKE_ENV} \
|
2015-03-15 05:51:31 +01:00
|
|
|
${SCONSDIR}/bin/scons prefix=${DESTDIR}${PREFIX}
|
2010-12-23 12:45:32 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
cd ${WRKSRC} && cd ${INSTALL_DIRS} && \
|
|
|
|
${SETENV} ${MAKE_ENV} \
|
|
|
|
${SCONSDIR}/bin/scons prefix=${DESTDIR}${PREFIX} install
|
|
|
|
|
|
|
|
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
|
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
2015-03-15 05:51:31 +01:00
|
|
|
.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"
|
2010-12-23 12:45:32 +01:00
|
|
|
.include "../../math/py-numpy/buildlink3.mk"
|
2014-01-25 11:29:56 +01:00
|
|
|
.include "../../lang/python/versioned_dependencies.mk"
|
2010-12-23 12:45:32 +01:00
|
|
|
.include "../../lang/python/pyversion.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|