Bump mail/opensmtpd-extras-table-socketmap to version 201606230001_1
[dports.git] / mail / gmime26 / Makefile
1 # Created by: Kirill Ponomarew <ponomarew@oberon.net>
2 # $FreeBSD$
3
4 PORTNAME=       gmime
5 PORTVERSION=    2.6.22
6 CATEGORIES?=    mail
7 MASTER_SITES=   GNOME
8 PKGNAMESUFFIX?= 26
9
10 MAINTAINER?=    bofh@FreeBSD.org
11 COMMENT?=       Library (written in C) for parsing and creating messages using MIME
12
13 LICENSE=        LGPL21
14
15 LIB_DEPENDS=    libgpgme.so:security/gpgme \
16                 libassuan.so:security/libassuan \
17                 libgpg-error.so:security/libgpg-error
18
19 SLAVEDIRS=      mail/gmime26-sharp
20
21 DOCSDIR=        ${PREFIX}/share/doc/${PORTNAME}26
22 USES=           gettext-runtime gmake iconv libtool localbase pathfix pkgconfig tar:xz
23 USE_GNOME+=     glib20
24 USE_LDCONFIG=   yes
25 GNU_CONFIGURE=  yes
26 INSTALL_TARGET= install-strip
27
28 # www.freebsd.org/cgi/query-pr.cgi?pr=118092
29 # Rename uudecode and uuencode to gmime-* to not conflict with userland
30 # fix kept in case issue returns
31 CONFIGURE_ARGS?=--enable-mono=no \
32                 --program-transform-name="s/uuencode/gmime-uuencode/;s/uudecode/gmime-uudecode/;"
33
34 post-patch:
35         @${REINPLACE_CMD} -e '/^SUBDIRS =/s/tests//' \
36                 ${WRKSRC}/Makefile.in
37
38 .include <bsd.port.mk>