File:  [cvs.NetBSD.org] / pkgsrc / www / liferea / Makefile
Revision 1.84: download - view: text, annotated - select for diffs
Wed Jul 22 09:01:51 2009 UTC (15 years, 9 months ago) by wiz
Branches: MAIN
CVS tags: HEAD
Remove USE_DIRS from pkgsrc.

Shared directories can now be created independently by the pacakges
needing them and will be removed automatically by pkg_delete when empty.

Packages needing empty directories can use the @pkgdir command in PLIST.

Discussed and ok'd in thread starting at
http://mail-index.netbsd.org/tech-pkg/2009/06/30/msg003546.html

# $NetBSD: Makefile,v 1.84 2009/07/22 09:01:51 wiz Exp $

DISTNAME=		liferea-1.4.28
CATEGORIES=		www
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=liferea/}

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://liferea.sourceforge.net/
COMMENT=		Simple FeedReader clone for reading RSS/RDF feeds

GNU_CONFIGURE=		yes
PKG_DESTDIR_SUPPORT=	user-destdir
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 liferea-webkit
PKG_SUGGESTED_OPTIONS=	liferea-gtkhtml
.include "../../mk/bsd.options.mk"

PLIST_VARS+=	gtkhtml mozilla webkit
.if !empty(PKG_OPTIONS:Mliferea-gtkhtml)
CONFIGURE_ARGS+=	--disable-gecko
.include "../../www/libgtkhtml/buildlink3.mk"
PLIST.gtkhtml=	yes
.endif
.if !empty(PKG_OPTIONS:Mliferea-firefox)
.include "../../www/firefox/buildlink3.mk"
PLIST.mozilla=	yes
.endif
.if !empty(PKG_OPTIONS:Mliferea-seamonkey)
.include "../../www/firefox/buildlink3.mk"
PLIST.mozilla=	yes
.endif
.if !empty(PKG_OPTIONS:Mliferea-webkit)
CONFIGURE_ARGS+=	--disable-gecko
.include "../../www/webkit-gtk/buildlink3.mk"
PLIST.webkit=	yes
.endif

SHLIBTOOL_OVERRIDE=	# empty

GCONF_SCHEMAS=		liferea.schemas

.include "../../databases/sqlite3/buildlink3.mk"
.include "../../devel/GConf/schemas.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/libglade/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../security/gnutls/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../sysutils/libnotify/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>