freebsd-ports/www/newsbeuter/Makefile

45 lines
1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: newsbeuter
# Date created: 2007-06-01
# Whom: arved
#
# $FreeBSD$
PORTNAME= newsbeuter
2012-01-19 09:42:20 +01:00
PORTVERSION= 2.5
2012-01-22 21:52:07 +01:00
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://newsbeuter.org/downloads/
MAINTAINER= arved@FreeBSD.org
COMMENT= An RSS feed reader for the text console
2007-08-02 15:57:17 +02:00
LIB_DEPENDS= stfl.1:${PORTSDIR}/devel/stfl \
2012-01-19 09:42:20 +01:00
curl.6:${PORTSDIR}/ftp/curl \
json.0:${PORTSDIR}/devel/json-c
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GMAKE= yes
USE_GETTEXT= yes
USE_PERL5_BUILD=yes
USE_SQLITE= yes
2009-05-07 22:54:25 +02:00
USE_GNOME= libxml2
USE_NCURSES= yes
MAN1= newsbeuter.1 podbeuter.1
.include <bsd.port.pre.mk>
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
2012-01-19 09:42:20 +01:00
${REINPLACE_CMD} -e 's,fail "ncursesw5",true,; s,fail "libcrypto",true,' \
${WRKSRC}/config.sh
.include <bsd.port.post.mk>