svn commit: r338124 - head/www/newsbeuter

Tilman Keskinoz arved at FreeBSD.org
Mon Dec 30 15:53:59 UTC 2013


Author: arved
Date: Mon Dec 30 15:53:58 2013
New Revision: 338124
URL: http://svnweb.freebsd.org/changeset/ports/338124

Log:
  * Support Stagedir
  * Add Option to disable Podcast client
  
  PR:		185289
  Submitted by:	 	Zsolt Udvari <udvzsolt at gmail.com>

Modified:
  head/www/newsbeuter/Makefile
  head/www/newsbeuter/pkg-descr
  head/www/newsbeuter/pkg-plist

Modified: head/www/newsbeuter/Makefile
==============================================================================
--- head/www/newsbeuter/Makefile	Mon Dec 30 15:49:37 2013	(r338123)
+++ head/www/newsbeuter/Makefile	Mon Dec 30 15:53:58 2013	(r338124)
@@ -10,12 +10,17 @@ MASTER_SITES=	http://newsbeuter.org/down
 MAINTAINER=	arved at FreeBSD.org
 COMMENT=	An RSS feed reader for the text console
 
-LIB_DEPENDS=	stfl.1:${PORTSDIR}/devel/stfl \
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	stfl:${PORTSDIR}/devel/stfl \
 		curl:${PORTSDIR}/ftp/curl \
 		libjson.so:${PORTSDIR}/devel/json-c
 
-LICENSE=	MIT
-LICENSE_FILE=	${WRKSRC}/LICENSE
+OPTIONS_DEFINE= PODCAST
+PODCAST_DESC=	Podcast client (podbeuter)
+
+OPTIONS_DEFAULT= PODCAST
 
 USES=		gettext iconv ncurses gmake pkgconfig perl5
 USE_PERL5=	build
@@ -23,9 +28,13 @@ USE_SQLITE=	yes
 USE_GNOME=	libxml2
 USE_GCC=	any
 
-MAN1=	newsbeuter.1 podbeuter.1
+.include  <bsd.port.options.mk>
 
-NO_STAGE=	yes
+.if ${PORT_OPTIONS:MPODCAST}
+PLIST_SUB+=	PODCAST=""
+.else
+PLIST_SUB+=	PODCAST="@comment "
+.endif
 
 post-patch:
 	${REINPLACE_CMD} -e "s,share/man,man,; \

Modified: head/www/newsbeuter/pkg-descr
==============================================================================
--- head/www/newsbeuter/pkg-descr	Mon Dec 30 15:49:37 2013	(r338123)
+++ head/www/newsbeuter/pkg-descr	Mon Dec 30 15:53:58 2013	(r338124)
@@ -1,4 +1,4 @@
 Newsbeuter is an RSS feed reader for the text console.
 
 Author:	Andreas Krennmair
-WWW:	http://newsbeuter.org/
+WWW: http://newsbeuter.org/

Modified: head/www/newsbeuter/pkg-plist
==============================================================================
--- head/www/newsbeuter/pkg-plist	Mon Dec 30 15:49:37 2013	(r338123)
+++ head/www/newsbeuter/pkg-plist	Mon Dec 30 15:53:58 2013	(r338124)
@@ -1,5 +1,5 @@
 bin/newsbeuter
-bin/podbeuter
+%%PODCAST%%bin/podbeuter
 share/locale/de/LC_MESSAGES/newsbeuter.mo
 share/locale/es/LC_MESSAGES/newsbeuter.mo
 share/locale/es_ES/LC_MESSAGES/newsbeuter.mo
@@ -19,5 +19,7 @@ share/locale/zh_TW/LC_MESSAGES/newsbeute
 share/doc/newsbeuter/docbook-xsl.css
 share/doc/newsbeuter/newsbeuter.html
 share/doc/newsbeuter/examples/config
+man/man1/newsbeuter.1.gz
+%%PODCAST%%man/man1/podbeuter.1.gz
 @dirrm share/doc/newsbeuter/examples
 @dirrm share/doc/newsbeuter


More information about the svn-ports-all mailing list