diff options
Diffstat (limited to 'x11/py-kiwi/Makefile')
-rw-r--r-- | x11/py-kiwi/Makefile | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/x11/py-kiwi/Makefile b/x11/py-kiwi/Makefile index b38a69dcd14..1654682647d 100644 --- a/x11/py-kiwi/Makefile +++ b/x11/py-kiwi/Makefile @@ -1,29 +1,39 @@ -# $NetBSD: Makefile,v 1.13 2011/11/01 06:03:05 sbd Exp $ +# $NetBSD: Makefile,v 1.14 2012/02/04 10:36:53 obache Exp $ # -DISTNAME= kiwi-1.9.22 +DISTNAME= kiwi-1.9.29 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 7 CATEGORIES= x11 python MASTER_SITES= ${MASTER_SITE_GNOME:=sources/kiwi/1.9/} +EXTRACT_SUFX= .tar.bz2 MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.async.com.br/projects/kiwi/ COMMENT= Framework and a set of enhanced PyGTK widgets +LICENSE= gnu-lgpl-v2.1 # or later + +DEPENDS+= ${PYPKGPREFIX}-setuptools>=0.6c6:../../devel/py-setuptools PKG_DESTDIR_SUPPORT= user-destdir -PY_PATCHPLIST= yes -PYDISTUTILSPKG= yes +USE_LANGUAGES= #none USE_PKGLOCALEDIR= yes USE_TOOLS+= msgfmt PYTHON_VERSIONS_ACCEPTED= 27 26 25 -DEPENDS+= ${PYPKGPREFIX}-setuptools>=0.6c6:../../devel/py-setuptools -INSTALLATION_DIRS+= ${PYSITELIB} -.include "../../lang/python/application.mk" -.include "../../lang/python/extension.mk" +SUBST_CLASSES+= localedir +SUBST_STAGE.localedir= pre-configure +SUBST_FILES.localedir= setup.py +SUBST_SED.localedir= -e 's|share/locale|${PKGLOCALEDIR}/locale|' + +# tarball contains neither api nor howto. +post-install: + rmdir ${DESTDIR}${PREFIX}/share/doc/kiwi/api || true + rmdir ${DESTDIR}${PREFIX}/share/doc/kiwi/howto || true +.include "../../lang/python/application.mk" +.include "../../lang/python/distutils.mk" +BUILDLINK_API_DEPENDS.pygtk2+= ${PYPKGPREFIX}-gtk2>=2.18 .include "../../x11/py-gtk2/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |