summaryrefslogtreecommitdiff
path: root/mail/gmime/Makefile
blob: a6d4d2ac031695146c623a5b861f83825d4c5483 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# New ports collection makefile for:	gmime
# Date created:			7 Apr 2001
# Whom:				Bas Kruit <baskruit@bsltwr.dnsalias.org>
#
# $FreeBSD$
#

PORTNAME=	gmime
PORTVERSION=	1.0.8
CATEGORIES=	mail
MASTER_SITES=	http://spruce.sourceforge.net/gmime/sources/v1.0/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Library (written in C) for parsing and creating messages using MIME

CONFLICTS=	gmime-2.1.*
USE_X_PREFIX=	YES
GNU_CONFIGURE=	YES
USE_GMAKE=	YES
USE_GNOME=	glib12
USE_ICONV=	yes
USE_AUTOTOOLS=	libtool:15
CFLAGS+=	-L${LOCALBASE}/lib # req'd to find iconv
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_TARGET=	--target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
MAKE_ARGS=	confexecdir=${PREFIX}/etc

INSTALLS_SHLIB=	YES

.include <bsd.port.mk>