2007-11-06 16:18:10 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.77 2007/11/06 21:18:10 rui Exp $
|
2001-01-18 16:15:35 -05:00
|
|
|
|
2007-09-15 20:17:04 -04:00
|
|
|
COMMENT= mail/news client in gtk+
|
2001-03-27 18:27:52 -05:00
|
|
|
|
2007-06-10 13:30:15 -04:00
|
|
|
MAJOR= 2.4
|
2007-11-06 16:18:10 -05:00
|
|
|
VERSION= ${MAJOR}.5
|
2002-12-26 10:07:26 -05:00
|
|
|
DISTNAME= sylpheed-${VERSION}
|
2001-01-18 16:15:35 -05:00
|
|
|
CATEGORIES= mail news x11
|
2006-09-25 15:14:28 -04:00
|
|
|
HOMEPAGE= http://sylpheed.sraoss.jp/en
|
2001-01-18 16:15:35 -05:00
|
|
|
|
2002-02-28 15:06:27 -05:00
|
|
|
MAINTAINER= Damien Couderc <couderc@openbsd.org>
|
2001-01-18 16:15:35 -05:00
|
|
|
|
2003-11-08 12:15:00 -05:00
|
|
|
# GPL
|
2001-01-18 16:15:35 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2005-10-03 16:20:28 -04:00
|
|
|
MODULES= devel/gettext
|
2006-08-03 09:09:09 -04:00
|
|
|
LIB_DEPENDS= gtk-x11-2.0.>=0.9,gdk_pixbuf-2.0.>=0.9,gdk-x11-2.0.>=0.9::x11/gtk+2
|
2007-11-06 16:18:10 -05:00
|
|
|
WANTLIB= X11 Xau Xcomposite Xdamage Xdmcp Xrender \
|
|
|
|
Xcursor Xext Xfixes Xi Xinerama Xrandr \
|
|
|
|
atk-1.0 c cairo crypto expat fontconfig \
|
|
|
|
freetype glib-2.0 glitz gdk-x11-2.0 gdk_pixbuf-2.0 \
|
|
|
|
gmodule-2.0 gobject-2.0 gtk-x11-2.0 m pcre \
|
|
|
|
pthread pango-1.0 pangocairo-1.0 pangoft2-1.0 \
|
|
|
|
png ssl z
|
2005-10-03 16:20:28 -04:00
|
|
|
|
2007-06-10 13:30:15 -04:00
|
|
|
MASTER_SITES= http://sylpheed.sraoss.jp/sylpheed/v${MAJOR}/
|
2005-10-03 16:20:28 -04:00
|
|
|
MASTER_SITES0= ${MASTER_SITE_SOURCEFORGE:=sylpheed-claws/}
|
2001-01-18 16:15:35 -05:00
|
|
|
|
2006-11-13 06:20:24 -05:00
|
|
|
USE_X11= Yes
|
2007-04-01 10:33:33 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2003-02-13 16:35:09 -05:00
|
|
|
CONFIGURE_STYLE= gnu
|
2003-02-14 12:01:43 -05:00
|
|
|
CONFIGURE_ARGS= --enable-ssl --enable-ipv6 \
|
2006-07-08 04:49:38 -04:00
|
|
|
--disable-gtkspell --disable-imlib
|
2003-02-13 16:35:09 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2004-11-07 12:45:54 -05:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -pthread"
|
2001-01-18 16:15:35 -05:00
|
|
|
|
2005-10-03 16:20:28 -04:00
|
|
|
FLAVORS= compface gpgme
|
2001-09-01 14:50:27 -04:00
|
|
|
FLAVOR?=
|
2001-03-04 15:39:41 -05:00
|
|
|
|
2001-09-01 14:50:27 -04:00
|
|
|
.if ${FLAVOR:L:Mcompface}
|
2007-09-15 20:17:04 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= No Fee
|
|
|
|
PERMIT_DISTFILES_CDROM= No Fee
|
2006-08-03 09:09:09 -04:00
|
|
|
LIB_DEPENDS+= compface.>=1::mail/faces
|
2001-09-01 14:50:27 -04:00
|
|
|
.else
|
2003-02-13 16:35:09 -05:00
|
|
|
CONFIGURE_ARGS+= --disable-compface
|
2001-03-04 15:39:41 -05:00
|
|
|
.endif
|
|
|
|
|
2001-07-29 14:34:34 -04:00
|
|
|
.if ${FLAVOR:L:Mgpgme}
|
2006-08-03 09:09:09 -04:00
|
|
|
LIB_DEPENDS+= gpgme.>=4::security/gpgme
|
2003-02-13 16:35:09 -05:00
|
|
|
CONFIGURE_ARGS+= --enable-gpgme
|
2005-09-10 14:26:20 -04:00
|
|
|
WANTLIB+= gpg-error
|
2001-07-29 14:34:34 -04:00
|
|
|
.else
|
2003-02-13 16:35:09 -05:00
|
|
|
CONFIGURE_ARGS+= --disable-gpgme
|
2001-07-29 14:34:34 -04:00
|
|
|
.endif
|
|
|
|
|
2001-01-18 16:15:35 -05:00
|
|
|
.include <bsd.port.mk>
|