diff options
-rw-r--r-- | www/newsbeuter/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/www/newsbeuter/Makefile b/www/newsbeuter/Makefile index defb107b688b..08df972968c1 100644 --- a/www/newsbeuter/Makefile +++ b/www/newsbeuter/Makefile @@ -6,6 +6,7 @@ PORTNAME= newsbeuter PORTVERSION= 0.4 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://synflood.at/newsbeuter/ @@ -15,21 +16,24 @@ COMMENT= An RSS feed reader for the text console LIB_DEPENDS= stfl.0:${PORTSDIR}/devel/stfl \ nxml.0:${PORTSDIR}/textproc/libnxml \ mrss.0:${PORTSDIR}/textproc/libmrss \ - sqlite3.8:${PORTSDIR}/databases/sqlite3 USE_GMAKE= yes USE_GETTEXT= yes USE_PERL5_BUILD=yes +USE_SQLITE= yes MAN1= newsbeuter.1 podbeuter.1 .include <bsd.port.pre.mk> -post-patch: - ${REINPLACE_CMD} -e "s,share/man,man,; \ - s,prefix,PREFIX," ${WRKSRC}/Makefile .if ${OSVERSION} < 602107 - ${REINPLACE_CMD} -e "s,ncursesw,ncurses," ${WRKSRC}/Makefile +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> |