1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/www/newsbeuter/Makefile
William Grzybowski 4aa588c9c6 devel/json-c: update to 0.11
- Update to 0.11
- Bump revision of dependent ports
- Fix pkg-plist [1]

PR:		ports/182958
Submitted by:	zi, wg [1]
Approved by:	maintainer (timeout)
2013-11-09 15:57:18 +00:00

43 lines
1.0 KiB
Makefile

# Created by: arved
# $FreeBSD$
PORTNAME= newsbeuter
PORTVERSION= 2.7
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://newsbeuter.org/downloads/
MAINTAINER= arved@FreeBSD.org
COMMENT= An RSS feed reader for the text console
LIB_DEPENDS= stfl.1:${PORTSDIR}/devel/stfl \
curl:${PORTSDIR}/ftp/curl \
libjson.so:${PORTSDIR}/devel/json-c
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= gettext iconv ncurses gmake pkgconfig perl5
USE_PERL5= build
USE_SQLITE= yes
USE_GNOME= libxml2
USE_GCC= any
MAN1= newsbeuter.1 podbeuter.1
NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e "s,share/man,man,; \
/^prefix/s|=.*|=${PREFIX}|; /^CXX=/d; \
s|/usr/local|${LOCALBASE}|; s|ruby1.8|ruby18|" \
${WRKSRC}/Makefile
${REINPLACE_CMD} -e 's,<ncursesw/ncurses.h>,<ncurses.h>,' \
${WRKSRC}/src/controller.cpp ${WRKSRC}/src/view.cpp
${REINPLACE_CMD} -e 's,fail "ncursesw5",true,; s,fail "libcrypto",true,' \
${WRKSRC}/config.sh
${REINPLACE_CMD} -e 's|-liconv|${ICONV_LIB} -lcrypto -lncursesw|' \
${WRKSRC}/Makefile
.include <bsd.port.mk>