summaryrefslogtreecommitdiff
path: root/www/snownews/Makefile
blob: da34ab968c0ee1a852f72e750a08188ffd8a88a4 (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
# $NetBSD: Makefile,v 1.42 2013/05/31 12:42:54 wiz Exp $

DISTNAME=	snownews-1.5.12
PKGREVISION=	4
CATEGORIES=	www
MASTER_SITES=	http://kiza.kcore.de/software/snownews/download/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://kiza.kcore.de/software/snownews/
COMMENT=	Small, curses based RSS feed reader
LICENSE=	gnu-gpl-v2

DEPENDS+=		p5-XML-LibXML>=1.58:../../textproc/p5-XML-LibXML

HAS_CONFIGURE=		yes
USE_PKGLOCALEDIR=	yes
USE_TOOLS+=		msgfmt perl

REPLACE_PERL+=		configure opml2snow

CONFIG_SHELL=		perl
CONFIGURE_ARGS+=	--prefix=${PREFIX}
MAKE_ENV+=		EXTRA_CFLAGS=${CFLAGS:Q}

INCOMPAT_CURSES=	NetBSD-[0-4].*-*	#WA_BOLD, WA_REVERSE, KEY_RESIZE

post-configure:
	${ECHO} LOCALEPATH=${PREFIX}/${PKGLOCALEDIR}/locale >> ${WRKSRC}/platform_settings
	${ECHO} MANPATH=${PREFIX}/${PKGMANDIR} >> ${WRKSRC}/platform_settings

.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"