pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Add options to liferea to permit selection of differen...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3183ad2bcbeb
branches:  trunk
changeset: 537411:3183ad2bcbeb
user:      smb <smb%pkgsrc.org@localhost>
date:      Tue Jan 08 15:14:25 2008 +0000

description:
Add options to liferea to permit selection of different rendering engines

diffstat:

 mk/defaults/options.description |   3 +++
 www/liferea/Makefile            |  18 +++++++++++++++++-
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (53 lines):

diff -r 99c361a6f25b -r 3183ad2bcbeb mk/defaults/options.description
--- a/mk/defaults/options.description   Tue Jan 08 15:11:25 2008 +0000
+++ b/mk/defaults/options.description   Tue Jan 08 15:14:25 2008 +0000
@@ -152,6 +152,9 @@
 libofx                 Enable OFX support.
 libspiff               Use libspiff for XML shareable playlist support.
 libwww-aliases         Install aliases for p5-libwww (e.g. HEAD, GET etc.)
+liferea-gtkhtml                Use libgtkhtml2 to render HTML.
+liferea-firefox                Use Firefox to render HTML.
+liferea-seamonkey      Use Seamonkey to render HTML.
 links-zlib             Enable zlib support for the links WWW browser.
 lprng-priv-ports       Connections must be made from privileged ports.
 lprng-suid             Install LPRng executables setuid root.
diff -r 99c361a6f25b -r 3183ad2bcbeb www/liferea/Makefile
--- a/www/liferea/Makefile      Tue Jan 08 15:11:25 2008 +0000
+++ b/www/liferea/Makefile      Tue Jan 08 15:14:25 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.64 2008/01/06 15:53:43 drochner Exp $
+# $NetBSD: Makefile,v 1.65 2008/01/08 15:14:25 smb Exp $
 
 DISTNAME=              liferea-1.4.10
 CATEGORIES=            www
@@ -14,6 +14,14 @@
 USE_TOOLS+=            gmake pkg-config msgfmt perl intltool
 USE_LIBTOOL=           yes
 USE_PKGLOCALEDIR=      yes
+USE_LANGUAGES+=                c++
+USE_LANGUAGES+=                c
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.liferea
+PKG_OPTIONS_REQUIRED_GROUPS=   renderer
+PKG_OPTIONS_GROUP.renderer=    liferea-gtkhtml liferea-seamonkey liferea-firefox
+PKG_SUGGESTED_OPTIONS= liferea-gtkhtml
+.include "../../mk/bsd.options.mk"
 
 SHLIBTOOL_OVERRIDE=    # empty
 
@@ -31,7 +39,15 @@
 .include "../../sysutils/libnotify/buildlink3.mk"
 .include "../../textproc/libxml2/buildlink3.mk"
 .include "../../textproc/libxslt/buildlink3.mk"
+.if !empty(PKG_OPTIONS:Mliferea-gtkhtml)
 .include "../../www/libgtkhtml/buildlink3.mk"
+.endif
+.if !empty(PKG_OPTIONS:Mliferea-firefox)
+.include "../../www/firefox/buildlink3.mk"
+.endif
+.if !empty(PKG_OPTIONS:Mliferea-seamonkey)
+.include "../../www/seamonkey/buildlink3.mk"
+.endif
 .include "../../x11/libSM/buildlink3.mk"
 .include "../../x11/gtk2/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index