openbsd-ports/mail/evolution-plugin-rss/Makefile
ajacoutot cd4f10c725 - fix build when no gecko render is present (and really disable support
for gecko and webkit)
- add autostuffs to BUILD_DEPENDS
- bump
2008-07-23 13:00:51 +00:00

59 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.5 2008/07/23 13:00:51 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= RSS-reader plugin for GNOME
GNOME_PROJECT= evolution-rss
GNOME_VERSION= 0.1.0
PKGNAME= evolution-plugin-rss-${GNOME_VERSION}p0
CATEGORIES= mail
EVO_VERSION= 2.22
HOMEPAGE= http://gnome.eu.org/evo/index.php/Evolution_RSS_Reader_Plugin
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c dbus-1 glib-2.0 gobject-2.0 pcre pthread
MASTER_SITES= http://gnome.eu.org/
EXTRACT_SUFX= .tar.gz
MODULES= devel/gettext \
x11/gnome
BUILD_DEPENDS= ${RUN_DEPENDS} \
${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE_DEPENDS} \
::x11/gnome/common
RUN_DEPENDS= :gconf2-*:devel/gconf2 \
:evolution->=2.22.2:mail/evolution
LIB_DEPENDS= dbus-glib-1::x11/dbus-glib
USE_X11= Yes
CONFIGURE_STYLE= gnu
AUTOMAKE_VERSION= 1.9
AUTOCONF_VERSION= 2.61
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/evolution-rss \
--disable-schemas-install \
--disable-gecko \
--disable-webkit \
--with-primary-render=gtkhtml
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
SUBST_VARS= EVO_VERSION
do-configure:
cd ${WRKSRC} && env AUTOCONF_VERSION=${AUTOCONF_VERSION} \
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} ./autogen.sh \
${CONFIGURE_ARGS} GMSGFMT=${LOCALBASE}/bin/msgfmt DATADIRNAME=share
.include <bsd.port.mk>