2011-04-22 15:41:54 +02:00
|
|
|
# $NetBSD: Makefile,v 1.6 2011/04/22 13:43:49 obache Exp $
|
2010-12-23 12:45:32 +01:00
|
|
|
#
|
|
|
|
|
2011-03-06 08:33:52 +01:00
|
|
|
DISTNAME= mypaint-0.9.1
|
2011-04-22 15:41:54 +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
|
|
|
|
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2011-02-25 10:47:18 +01:00
|
|
|
PYTHON_VERSIONS_ACCEPTED= 27 26 25
|
2010-12-23 12:45:32 +01:00
|
|
|
USE_LANGUAGES= c++
|
|
|
|
|
|
|
|
USE_TOOLS+= bash:run msgfmt pkg-config
|
|
|
|
|
|
|
|
BUILD_DEPENDS+= scons-[0-9]*:../../devel/scons
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-gtk2-[0-9]*:../../x11/py-gtk2
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-cairo-[0-9]*:../../graphics/py-cairo
|
|
|
|
|
|
|
|
FIND_PREFIX:= SCONSDIR=scons
|
|
|
|
.include "../../mk/find-prefix.mk"
|
|
|
|
|
|
|
|
SUBST_CLASSES+= locale-dir
|
|
|
|
SUBST_STAGE.locale-dir= pre-configure
|
|
|
|
SUBST_FILES.locale-dir= SConstruct
|
|
|
|
SUBST_SED.locale-dir= -e 's,share/locale,${PKGLOCALEDIR}/locale,'
|
|
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
|
|
|
|
REPLACE_BASH= brushes/label-brush-mypaint.sh
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC} && cd ${BUILD_DIRS} && \
|
|
|
|
${SETENV} ${MAKE_ENV} \
|
|
|
|
${SCONSDIR}/bin/scons prefix=${PREFIX}
|
|
|
|
|
|
|
|
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"
|
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
|
|
.include "../../math/py-numpy/buildlink3.mk"
|
|
|
|
.include "../../lang/python/pyversion.mk"
|
|
|
|
.include "../../devel/swig/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|