summaryrefslogtreecommitdiff
path: root/news/lottanzb/Makefile
blob: 45adc751f15b088a39fa28af1847952f550e70f6 (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
# $NetBSD: Makefile,v 1.30 2019/11/04 19:17:11 rillig Exp $

DISTNAME=	lottanzb-0.4.1
PKGREVISION=	2
CATEGORIES=	news
MASTER_SITES=	http://www.lottanzb.org/releases/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.lottanzb.org/
COMMENT=	GNOME front-end for HellaNZB
LICENSE=	gnu-gpl-v3

DEPENDS+=	hellanzb>=0.13:../../news/hellanzb
DEPENDS+=	${PYPKGPREFIX}-kiwi>=1.9.9:../../x11/py-kiwi

USE_LANGUAGES=		#none
USE_PKGLOCALEDIR=	yes
USE_TOOLS+=		intltool msgfmt

REPLACE_PYTHON=	lottanzb/postprocessor.py
PYTHON_VERSIONS_ACCEPTED= 27 # py-gtk2 via py-kiwi

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

.include "../../lang/python/application.mk"
.include "../../lang/python/distutils.mk"

.include "../../databases/shared-mime-info/mimedb.mk"
.include "../../graphics/gnome-icon-theme/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../textproc/gnome-doc-utils/buildlink3.mk"
.include "../../mk/omf-scrollkeeper.mk"
.include "../../mk/bsd.pkg.mk"