openbsd-ports/mail/claws-mail-notification/Makefile
landry d011b2b6e0 Update to claws-mail 3.8.1 and plugins :
- attremover 1.0.14
- htmlviewer 0.32
- notification 0.30
- rssyl 0.33
- vcalendar 2.0.13

While here add patches for upstream bugs #2840, #2841 and #2842. Add
links to corresponding patches for tracking purposes.

All from Christopher Zimmermann, thanks!
2012-06-29 14:02:54 +00:00

50 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.27 2012/06/29 14:02:54 landry Exp $
SHARED_ONLY= Yes
COMMENT= notification plugin for Claws-mail
VERSION= 0.30
DISTNAME= notification_plugin-${VERSION}
PKGNAME= claws-mail-notification-${VERSION}
MASTER_SITES= http://www.claws-mail.org/downloads/plugins/
CATEGORIES= mail
DIST_SUBDIR= claws
HOMEPAGE= http://www.claws-mail.org/plugin.php?plugin=notification
# GPLv3
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += GL X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender Xxf86vm atk-1.0 cairo drm
WANTLIB += expat fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
WANTLIB += gtk-x11-2.0 m notify pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pcre pixman-1 png pthread-stubs xcb xcb-render xcb-shm
WANTLIB += z dbus-1 dbus-glib-1
USE_LIBTOOL= Yes
LIBTOOL_FLAGS= --tag=disable-static
MODULES= devel/gettext
LIB_DEPENDS= devel/libnotify>=0.7.2 \
x11/gtk+2
RUN_DEPENDS= mail/claws-mail>=3.8.1 \
notification-daemon-*|notification-daemon-xfce-*|xfce4-notifyd-*:sysutils/notification-daemon
BUILD_DEPENDS= ${RUN_DEPENDS}
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --disable-static \
--disable-libcanberra-gtk
.include <bsd.port.mk>