2011-09-25 04:38:27 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2011/09/25 08:38:27 ajacoutot Exp $
|
2011-07-14 01:33:45 -04:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
|
2011-09-12 03:26:18 -04:00
|
|
|
COMMENT= RSS reader plugin for evolution
|
2011-07-14 01:33:45 -04:00
|
|
|
|
|
|
|
GNOME_PROJECT= evolution-rss
|
2011-09-12 03:26:18 -04:00
|
|
|
GNOME_VERSION= 0.2.90-20110621
|
|
|
|
PKGNAME= evolution-rss-${GNOME_VERSION:S/-/./}
|
2011-07-14 01:33:45 -04:00
|
|
|
|
2011-09-25 04:38:27 -04:00
|
|
|
REVISION= 6
|
2011-07-14 01:33:45 -04:00
|
|
|
|
|
|
|
CATEGORIES= mail
|
|
|
|
|
2011-09-22 06:33:00 -04:00
|
|
|
EVO_VERSION= 3.2
|
2011-07-14 01:33:45 -04:00
|
|
|
SUBST_VARS= EVO_VERSION
|
|
|
|
|
|
|
|
HOMEPAGE= http://gnome.eu.org/evo/index.php/Evolution_RSS_Reader_Plugin
|
|
|
|
|
|
|
|
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
|
|
|
|
Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
|
|
|
|
# GPLv2
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2011-09-25 04:38:27 -04:00
|
|
|
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
|
2011-09-12 03:26:18 -04:00
|
|
|
WANTLIB += lib/evolution/${EVO_VERSION}/eshell
|
2011-07-14 01:33:45 -04:00
|
|
|
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 \
|
2011-09-12 03:26:18 -04:00
|
|
|
mail/evolution,-main>=3.0.2
|
2011-07-14 01:33:45 -04:00
|
|
|
|
2011-09-19 03:39:05 -04:00
|
|
|
MODGNOME_DESKTOP_FILE= Yes
|
2011-07-14 01:33:45 -04:00
|
|
|
MODGCONF2_SCHEMAS_DIR= evolution-rss
|
|
|
|
|
2011-09-12 03:26:18 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2011-09-25 04:38:27 -04:00
|
|
|
CONFIGURE_ARGS= --disable-gecko \
|
2011-07-14 01:33:45 -04:00
|
|
|
--disable-webkit \
|
|
|
|
--with-primary-render=gtkhtml
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
2011-09-12 03:26:18 -04:00
|
|
|
### XXX remove this chunk when updating to a 'real' release ############
|
2011-07-14 01:33:45 -04:00
|
|
|
MASTER_SITES= http://distfiles.bsdfrog.org/
|
2011-09-12 03:26:18 -04:00
|
|
|
WRKDIST= ${WRKDIR}/evolution-rss-0.2.90
|
|
|
|
|
2011-07-14 01:33:45 -04:00
|
|
|
BUILD_DEPENDS += x11/gnome/common \
|
2011-09-12 03:26:18 -04:00
|
|
|
devel/autoconf/${AUTOCONF_VERSION} \
|
|
|
|
devel/automake/${AUTOMAKE_VERSION}
|
|
|
|
|
2011-07-14 01:33:45 -04:00
|
|
|
USE_LIBTOOL= gnu
|
2011-09-12 03:26:18 -04:00
|
|
|
AUTOCONF_VERSION= 2.65
|
|
|
|
AUTOMAKE_VERSION= 1.9
|
2011-07-14 01:33:45 -04:00
|
|
|
CONFIGURE_STYLE= # empty
|
2011-09-12 03:26:18 -04:00
|
|
|
|
2011-07-14 01:33:45 -04:00
|
|
|
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} \
|
2011-09-12 03:26:18 -04:00
|
|
|
./autogen.sh ${CONFIGURE_ARGS} --disable-maintainer-mode \
|
2011-09-25 04:38:27 -04:00
|
|
|
--disable-silent-rules --enable-shared
|
2011-09-12 03:26:18 -04:00
|
|
|
### end XXX ############################################################
|
2011-07-14 01:33:45 -04:00
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
perl -pi -e 's,sed -i -e,perl -pi -e,g' ${WRKSRC}/src/Makefile.in
|
|
|
|
|
2011-09-12 03:26:18 -04:00
|
|
|
# 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
|
|
|
|
|
2011-07-14 01:33:45 -04:00
|
|
|
.include <bsd.port.mk>
|