2009-08-10 02:29:51 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.84 2009/08/10 06:32:43 kili 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
|
|
|
|
2008-10-28 13:03:15 -04:00
|
|
|
MAJOR= 2.5
|
|
|
|
VERSION= ${MAJOR}.0
|
2002-12-26 10:07:26 -05:00
|
|
|
DISTNAME= sylpheed-${VERSION}
|
2009-08-10 02:29:51 -04:00
|
|
|
PKGNAME= ${DISTNAME}p3
|
2008-10-28 13:03:15 -04: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
|
|
|
|
2008-11-15 05:41:14 -05:00
|
|
|
# GPLv2 - LGPLv2
|
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
|
2008-11-15 05:41:14 -05:00
|
|
|
LIB_DEPENDS= gtk-x11-2.0.>=0.9,gdk_pixbuf-2.0.>=0.9,gdk-x11-2.0.>=0.9::x11/gtk+2 \
|
|
|
|
gtkspell.>=1::textproc/gtkspell
|
|
|
|
|
2009-03-09 17:32:22 -04:00
|
|
|
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
|
|
|
|
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo crypto enchant
|
|
|
|
WANTLIB += expat fontconfig freetype gio-2.0 glib-2.0 glitz gmodule-2.0
|
|
|
|
WANTLIB += gobject-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0
|
2009-08-10 02:29:51 -04:00
|
|
|
WANTLIB += pcre pixman-1 png pthread pthread-stubs ssl stdc++ xcb z
|
2005-10-03 16:20:28 -04:00
|
|
|
|
2008-10-28 13:03:15 -04:00
|
|
|
RUN_DEPENDS= ::devel/desktop-file-utils
|
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
|
2008-11-15 05:41:14 -05:00
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
|
|
--enable-ssl \
|
|
|
|
--enable-ipv6 \
|
|
|
|
--enable-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
|
|
|
|
|
2008-11-15 05:41:14 -05:00
|
|
|
post-configure:
|
|
|
|
echo "#define USE_ENCHANT 1" >> ${WRKBUILD}/config.h
|
|
|
|
|
2001-01-18 16:15:35 -05:00
|
|
|
.include <bsd.port.mk>
|