openbsd-ports/mail/claws-mail-notification/Makefile
landry e3239912d4 Update to claws-mail plugins, from robert at openbsd dot pap dot st,
with WANTLIB fixes by me:
* claws-mail-htmlviewer 0.30
* cmaws-mail-notification 0.27
* claws-mail-rssyl 0.30
* claws-mail-vcalendar 2.0.10
2011-04-21 13:13:59 +00:00

50 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.24 2011/04/21 13:13:59 landry Exp $
SHARED_ONLY= Yes
COMMENT= notification plugin for Claws-mail
VERSION= 0.27
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 \
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>