aboutsummaryrefslogtreecommitdiffstats
path: root/www/newsbeuter
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2007-06-05 03:11:38 +0800
committerarved <arved@FreeBSD.org>2007-06-05 03:11:38 +0800
commit9da161b417ff3ee25786c2550b2afb31daafe847 (patch)
tree0f0f37f0ba319c64ad6ab020b77e86d407acfa9a /www/newsbeuter
parentbf9b1aa7891e432b1cb30222b7e0ccf55da2b64c (diff)
downloadfreebsd-ports-gnome-9da161b417ff3ee25786c2550b2afb31daafe847.tar.gz
freebsd-ports-gnome-9da161b417ff3ee25786c2550b2afb31daafe847.tar.zst
freebsd-ports-gnome-9da161b417ff3ee25786c2550b2afb31daafe847.zip
USE_SQLITE
Depend on ncurses port for older stable users Respect CC/CXXFLAGS/Prefix Bump PORTREVISION Submitted by: infofarmer
Diffstat (limited to 'www/newsbeuter')
-rw-r--r--www/newsbeuter/Makefile14
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>