openbsd-ports/mail/sylpheed/Makefile

52 lines
1.2 KiB
Makefile
Raw Normal View History

2003-02-11 07:25:06 -05:00
# $OpenBSD: Makefile,v 1.35 2003/02/11 12:25:06 couderc Exp $
COMMENT= "mail/news client in gtk+"
2003-02-11 07:25:06 -05:00
VERSION= 0.8.10
2002-12-26 10:07:26 -05:00
DISTNAME= sylpheed-${VERSION}
CATEGORIES= mail news x11
HOMEPAGE= http://sylpheed.good-day.net
2002-02-28 15:06:27 -05:00
MAINTAINER= Damien Couderc <couderc@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2001-02-03 10:41:25 -05:00
MASTER_SITES= ${HOMEPAGE}/sylpheed/
2001-02-03 10:41:25 -05:00
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --enable-ssl \
--enable-ipv6
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
FLAVORS= compface gpgme imlib
FLAVOR?=
.if ${FLAVOR:L:Mcompface}
PERMIT_PACKAGE_CDROM= "No Fee"
PERMIT_DISTFILES_CDROM= "No Fee"
BUILD_DEPENDS= ${LOCALBASE}/lib/libcompface.a::graphics/compface
.else
CONFIGURE_ARGS+= --disable-compface
.endif
.if ${FLAVOR:L:Mgpgme}
LIB_DEPENDS= gpgme.4::security/gpgme
CONFIGURE_ARGS+= --enable-gpgme
.else
CONFIGURE_ARGS+= --disable-gpgme
.endif
.if ${FLAVOR:L:Mimlib}
LIB_DEPENDS+= gdk_imlib.19::graphics/imlib
CONFIGURE_ARGS+= --disable-gdk-pixbuf
.else
LIB_DEPENDS+= gdk_pixbuf.2::graphics/gdk-pixbuf
CONFIGURE_ARGS+= --disable-imlib
.endif
.include <bsd.port.mk>