aboutsummaryrefslogtreecommitdiff
path: root/www/newsbeuter
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-01-30 16:05:25 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-01-30 16:05:25 +0000
commit5470065ca61ce6fb1fec62b240583d23edb13df1 (patch)
treee76aca893ea69de16be47671a0cb30178a808d47 /www/newsbeuter
parentfbebb043a5082fb58429677e2acbba264843b95e (diff)
downloadports-5470065ca61ce6fb1fec62b240583d23edb13df1.tar.gz
ports-5470065ca61ce6fb1fec62b240583d23edb13df1.zip
devel/stfl:
- Fix a crash on FreeBSD 10 by indicating the port uses the WCHAR_T iconv extension. - Use more of the port's own build system. This simplifies the Makefile. www/newsbeuter: - Indicate the port uses the //TRANSLIT iconv extension. - Use OPTIONS_SUB. PR: ports/186257 Approved by: arved (maintainer)
Notes
Notes: svn path=/head/; revision=341856
Diffstat (limited to 'www/newsbeuter')
-rw-r--r--www/newsbeuter/Makefile15
1 files changed, 4 insertions, 11 deletions
diff --git a/www/newsbeuter/Makefile b/www/newsbeuter/Makefile
index 9153988c875d..177a17d2597a 100644
--- a/www/newsbeuter/Makefile
+++ b/www/newsbeuter/Makefile
@@ -3,6 +3,7 @@
PORTNAME= newsbeuter
PORTVERSION= 2.8
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://newsbeuter.org/downloads/
@@ -17,24 +18,16 @@ LIB_DEPENDS= stfl:${PORTSDIR}/devel/stfl \
libjson.so:${PORTSDIR}/devel/json-c
OPTIONS_DEFINE= PODCAST
+OPTIONS_DEFAULT=PODCAST
+OPTIONS_SUB= yes
PODCAST_DESC= Podcast client (podbeuter)
-OPTIONS_DEFAULT= PODCAST
-
-USES= gettext iconv ncurses gmake pkgconfig perl5
+USES= gettext gmake iconv:translit ncurses perl5 pkgconfig
USE_PERL5= build
USE_SQLITE= yes
USE_GNOME= libxml2
USE_GCC= any
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MPODCAST}
-PLIST_SUB+= PODCAST=""
-.else
-PLIST_SUB+= PODCAST="@comment "
-.endif
-
post-patch:
${REINPLACE_CMD} -e "s,share/man,man,; \
/^prefix/s|=.*|=${PREFIX}|; /^CXX=/d; \