freebsd-ports/www/newsbeuter/Makefile

44 lines
1.1 KiB
Makefile
Raw Normal View History

# Created by: arved
# $FreeBSD$
PORTNAME= newsbeuter
2014-01-20 10:37:52 +01:00
PORTVERSION= 2.8
PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= http://newsbeuter.org/downloads/
MAINTAINER= arved@FreeBSD.org
COMMENT= An RSS feed reader for the text console
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= stfl:${PORTSDIR}/devel/stfl \
curl:${PORTSDIR}/ftp/curl \
libjson.so:${PORTSDIR}/devel/json-c
OPTIONS_DEFINE= PODCAST
OPTIONS_DEFAULT=PODCAST
OPTIONS_SUB= yes
PODCAST_DESC= Podcast client (podbeuter)
USES= compiler:c++11-lang gettext gmake iconv:translit ncurses perl5 pkgconfig
USE_CXXSTD= gnu++11
USE_PERL5= build
USE_SQLITE= yes
2009-05-07 22:54:25 +02:00
USE_GNOME= libxml2
post-patch:
${REINPLACE_CMD} -e "s,share/man,man,; \
/^prefix/s|=.*|=${PREFIX}|; /^CXX=/d; \
2008-03-12 11:20:24 +01:00
s|/usr/local|${LOCALBASE}|; s|ruby1.8|ruby18|" \
${WRKSRC}/Makefile
2009-05-07 22:54:25 +02:00
${REINPLACE_CMD} -e 's,<ncursesw/ncurses.h>,<ncurses.h>,' \
${WRKSRC}/src/controller.cpp ${WRKSRC}/src/view.cpp
2014-01-20 10:37:52 +01:00
${REINPLACE_CMD} -e 's,fail "ncursesw",true,; s,fail "libcrypto",true,' \
2012-01-19 09:42:20 +01:00
${WRKSRC}/config.sh
${REINPLACE_CMD} -e 's|-liconv|${ICONV_LIB} -lcrypto -lncursesw|' \
${WRKSRC}/Makefile
.include <bsd.port.mk>