summaryrefslogtreecommitdiff
path: root/www/newsbeuter/Makefile
blob: 4bbe2f35bbe08712f61d3a77f981e6c948fd4606 (plain) (blame)
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
38
39
40
# New ports collection makefile for:		newsbeuter
# Date created:					2007-06-01
# Whom:						arved
#
# $FreeBSD$

PORTNAME=	newsbeuter
PORTVERSION=	0.7
PORTREVISION=	1
CATEGORIES=	www
MASTER_SITES=	http://synflood.at/newsbeuter/

MAINTAINER=	arved@FreeBSD.org
COMMENT=	An RSS feed reader for the text console

LIB_DEPENDS=	stfl.1:${PORTSDIR}/devel/stfl \
		nxml.18:${PORTSDIR}/textproc/libnxml \
		mrss.19:${PORTSDIR}/textproc/libmrss

USE_GMAKE=	yes
USE_GETTEXT=	yes
USE_PERL5_BUILD=yes
USE_SQLITE=	yes
MAKE_ENV=	CXX="${CXX}"

MAN1=	newsbeuter.1 podbeuter.1

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 602107
LIB_DEPENDS+=	ncursesw.5:${PORTSDIR}/devel/ncurses
.endif

post-patch:
	${REINPLACE_CMD} -e "s,share/man,man,; \
			/^prefix/s|=.*|=${PREFIX}|; /^CXX=/d; \
			/^CXXFLAGS/s|=|+=|; s|/usr/local|${LOCALBASE}|" \
				${WRKSRC}/Makefile

.include <bsd.port.post.mk>