openbsd-ports/mail/gmime/Makefile

37 lines
829 B
Makefile

# $OpenBSD: Makefile,v 1.16 2010/03/26 15:04:40 ajacoutot Exp $
COMMENT= MIME messages creation and parsing library (v2.2)
DISTNAME= gmime-2.2.26
SHARED_LIBS += gmime-2.0 2.0 # .4.22
CATEGORIES= mail devel
HOMEPAGE= http://spruce.sourceforge.net/gmime/
# LGPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= pcre z
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gmime/2.2/}
EXTRACT_SUFX= .tar.bz2
MODULES= devel/gettext
LIB_DEPENDS= glib-2.0,gmodule-2.0,gobject-2.0,gthread-2.0::devel/glib2
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-libiconv-prefix="${LOCALBASE}" \
--disable-mono
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>