openbsd-ports/mail/sylpheed/Makefile
2010-10-24 20:58:58 +00:00

62 lines
1.7 KiB
Makefile

# $OpenBSD: Makefile,v 1.90 2010/10/24 21:25:12 ajacoutot Exp $
COMMENT = lightweight and user-friendly e-mail client
DISTNAME = sylpheed-3.0.3
SHARED_LIBS += sylph-0 1.0 # 1.3
SHARED_LIBS += sylpheed-plugin-0 1.0 # 1.3
CATEGORIES= mail news x11
HOMEPAGE= http://sylpheed.sraoss.jp/en
# GPLv2 - LGPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES = devel/gettext
LIB_DEPENDS += ::x11/gtk+2 \
::textproc/gtkspell \
::security/gpgme
WANTLIB += GL X11 X11-xcb Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes Xi
WANTLIB += Xinerama Xrandr Xrender Xxf86vm c crypto atk-1.0 cairo gdk_pixbuf-2.0
WANTLIB += pango-1.0 pangocairo-1.0 dbus-1 dbus-glib-1 gio-2.0 glib-2.0
WANTLIB += gmodule-2.0 gobject-2.0 drm expat fontconfig freetype m pixman-1
WANTLIB += pthread pthread-stubs gthread-2.0 iconv intl pcre enchant pangoft2-1.0
WANTLIB += png gpgme gpg-error gtkspell ssl stdc++ xcb xcb-render xcb-shm z
WANTLIB += gtk-x11-2.0 gdk-x11-2.0 gtkspell
RUN_DEPENDS= ::devel/desktop-file-utils
MASTER_SITES = http://sylpheed.sraoss.jp/sylpheed/v3.0/
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--enable-ssl \
--enable-ipv6 \
--enable-gtkspell \
--disable-jpilot \
--disable-ldap \
--disable-oniguruma \
--enable-gpgme
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -pthread"
FLAVORS= compface
FLAVOR?=
.if ${FLAVOR:L:Mcompface}
LIB_DEPENDS+= ::mail/faces
WANTLIB+= compface
CONFIGURE_ARGS += --enable-compface
PERMIT_PACKAGE_CDROM = No fee
PERMIT_DISTFILES_CDROM =No fee
.else
CONFIGURE_ARGS+= --disable-compface
.endif
.include <bsd.port.mk>