# $OpenBSD: Makefile,v 1.7 2011/09/25 08:38:27 ajacoutot Exp $ SHARED_ONLY= Yes COMMENT= RSS reader plugin for evolution GNOME_PROJECT= evolution-rss GNOME_VERSION= 0.2.90-20110621 PKGNAME= evolution-rss-${GNOME_VERSION:S/-/./} REVISION= 6 CATEGORIES= mail EVO_VERSION= 3.2 SUBST_VARS= EVO_VERSION HOMEPAGE= http://gnome.eu.org/evo/index.php/Evolution_RSS_Reader_Plugin MAINTAINER= Jasper Lievisse Adriaanse , \ Antoine Jacoutot # GPLv2 PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes WANTLIB += GL ORBit-2 X11 X11-xcb Xcomposite Xcursor Xdamage Xext WANTLIB += Xfixes Xi Xinerama Xrandr Xrender asn1 atk-1.0 c cairo WANTLIB += cairo-gobject camel-1.2 camel-provider-1.2 com_err WANTLIB += crypto dbus-1 ebook-1.2 ecal-1.2 edataserver-1.2 edataserverui-3.0 WANTLIB += enchant execinfo expat ffi fontconfig freetype gailutil-3 WANTLIB += gcrypt gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 WANTLIB += gnome-desktop-3 gnome-keyring gobject-2.0 gpg-error WANTLIB += gssapi gthread-2.0 gtk-3 gtkhtml-4.0 gtkhtml-editor-4.0 WANTLIB += ical icalss icalvcal krb5 kvm m nspr4 nss3 pango-1.0 WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 plc4 plds4 WANTLIB += png pthread pthread-stubs smime3 soup-2.4 soup-gnome-2.4 WANTLIB += sqlite3 ssl3 startup-notification-1 stdc++ xcb xcb-aux WANTLIB += xcb-render xcb-shm xml2 z WANTLIB += lib/evolution/${EVO_VERSION}/eshell WANTLIB += lib/evolution/${EVO_VERSION}/eutil MASTER_SITES= http://gnome.eu.org/ EXTRACT_SUFX= .tar.gz MODULES= devel/gettext \ x11/gnome \ devel/gconf2 LIB_DEPENDS= devel/libsoup,-gnome \ mail/evolution,-main>=3.0.2 MODGNOME_DESKTOP_FILE= Yes MODGCONF2_SCHEMAS_DIR= evolution-rss CONFIGURE_STYLE= gnu CONFIGURE_ARGS= --disable-gecko \ --disable-webkit \ --with-primary-render=gtkhtml CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" ### XXX remove this chunk when updating to a 'real' release ############ MASTER_SITES= http://distfiles.bsdfrog.org/ WRKDIST= ${WRKDIR}/evolution-rss-0.2.90 BUILD_DEPENDS += x11/gnome/common \ devel/autoconf/${AUTOCONF_VERSION} \ devel/automake/${AUTOMAKE_VERSION} USE_LIBTOOL= gnu AUTOCONF_VERSION= 2.65 AUTOMAKE_VERSION= 1.9 CONFIGURE_STYLE= # empty do-configure: perl -pi -e 's,sed -i -e,perl -pi -e,g' ${WRKSRC}/src/Makefile.am echo "\nAC_PROG_LIBTOOL" >> ${WRKSRC}/configure.ac @cd ${WRKSRC} && \ AUTOCONF_VERSION=${AUTOCONF_VERSION} \ AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \ CONFIGURE_ENV=${CONFIGURE_ENV} \ ./autogen.sh ${CONFIGURE_ARGS} --disable-maintainer-mode \ --disable-silent-rules --enable-shared ### end XXX ############################################################ pre-configure: perl -pi -e 's,sed -i -e,perl -pi -e,g' ${WRKSRC}/src/Makefile.in # XXX the desktop file is there for "News" category integration by other # applications -- unfortunately, setting NoDisplay= or ShowOnlyIn= will # make applications ignore it, but we don't want evolution-import-rss to # appear in the menu since it takes an argument which we have no way to # give -- so add NoDisplay anyway. post-install: echo 'NoDisplay=true' >> \ ${PREFIX}/share/applications/evolution-rss.desktop .include