[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / x11 / py-kiwi

File: [cvs.NetBSD.org] / pkgsrc / x11 / py-kiwi / Makefile (download)

Revision 1.63, Wed Nov 23 16:21:26 2022 UTC (2 months, 1 week ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4
Changes since 1.62: +2 -2 lines

massive revision bump after textproc/icu update

# $NetBSD: Makefile,v 1.63 2022/11/23 16:21:26 adam Exp $

DISTNAME=	kiwi-1.9.29
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
PKGREVISION=	33
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

USE_LANGUAGES=			#none
USE_PKGLOCALEDIR=		yes
USE_TOOLS+=			msgfmt
PYTHON_VERSIONS_ACCEPTED=	27 # py-gtk2

SUBST_CLASSES+=			localedir
SUBST_STAGE.localedir=		pre-configure
SUBST_FILES.localedir=		setup.py kiwi/dist.py
SUBST_SED.localedir=		-e 's|share/locale|${PKGLOCALEDIR}/locale|'
SUBST_VARS.localedir=		PKGLOCALEDIR
SUBST_NOOP_OK.localedir=	yes

# 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/egg.mk"
BUILDLINK_API_DEPENDS.pygtk2+=	${PYPKGPREFIX}-gtk2>=2.18
.include "../../x11/py-gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"