# $MidnightBSD: trunk/mail/pantomime/Makefile 19884 2015-08-20 23:41:23Z laffer1 $

PORTNAME=	pantomime
PORTVERSION=	1.2.2
CATEGORIES=	mail gnustep
MASTER_SITES=	http://download.gna.org/gnustep-nonfsf/
DISTNAME=	Pantomime-${PORTVERSION}

MAINTAINER=	ports@MidnightBSD.org
COMMENT=	Mail/MIME handling library for GNUstep

LICENSE=	lgpl2.1

# The use of libiconv shouldn't be necessary, but a build dependency installs
# it and we end up picking up the header.
MAKE_ARGS+=	LIBRARIES_DEPEND_UPON='${ICONV_LIB} -lssl'
MAKE_ENV+=	GNUSTEP_INSTALLATION_DOMAIN=SYSTEM
USES=		gnustep iconv
USE_OPENSSL=	yes
USE_GNUSTEP=	back build
USE_LDCONFIG=	${GNUSTEP_LOCAL_LIBRARIES}

DEFAULT_LIBVERSION=	1.2

.include <bsd.port.mk>
