aboutsummaryrefslogtreecommitdiffstats
path: root/www/newsbeuter/Makefile
blob: 44e34fc9874e85bf325aa28cd2d88cfdf75d9bbd (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
# New ports collection makefile for:        newsbeuter
# Date created:                 2007-06-01
# Whom:                     arved
#
# $FreeBSD$

PORTNAME=   newsbeuter
PORTVERSION=    0.7
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.18:${PORTSDIR}/textproc/libmrss

USE_GMAKE=  yes
USE_GETTEXT=    yes
USE_PERL5_BUILD=yes
USE_SQLITE= yes

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>