openbsd-ports/mail/gmime/Makefile
2008-05-18 10:29:33 +00:00

36 lines
849 B
Makefile

# $OpenBSD: Makefile,v 1.10 2008/05/18 10:29:33 jasper Exp $
COMMENT= library for the creation and parsing of MIME messages
DISTNAME= gmime-2.2.20
SHARED_LIBS += gmime-2.0 1.1 # .4.20
CATEGORIES= mail devel
HOMEPAGE= http://spruce.sourceforge.net/gmime/
# GPLv2
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 \
--disable-gtkdoc
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>