2013-05-22 11:04:54 +02:00
|
|
|
PORTNAME= gmime
|
2017-02-26 12:39:32 +01:00
|
|
|
PORTVERSION= 2.6.23
|
2022-12-24 11:05:01 +01:00
|
|
|
PORTREVISION= 2
|
2013-05-22 11:04:54 +02:00
|
|
|
CATEGORIES?= mail
|
|
|
|
MASTER_SITES= GNOME
|
2014-05-18 20:34:03 +02:00
|
|
|
PKGNAMESUFFIX?= 26
|
2013-05-22 11:04:54 +02:00
|
|
|
|
2014-12-24 01:14:11 +01:00
|
|
|
MAINTAINER?= bofh@FreeBSD.org
|
2013-05-22 11:04:54 +02:00
|
|
|
COMMENT?= Library (written in C) for parsing and creating messages using MIME
|
2023-11-06 09:24:43 +01:00
|
|
|
WWW= https://spruce.sourceforge.net/gmime/
|
2013-05-22 11:04:54 +02:00
|
|
|
|
|
|
|
LICENSE= LGPL21
|
|
|
|
|
2017-01-06 01:36:05 +01:00
|
|
|
LIB_DEPENDS= libgpgme.so:security/gpgme \
|
|
|
|
libassuan.so:security/libassuan \
|
|
|
|
libgpg-error.so:security/libgpg-error
|
|
|
|
|
2019-03-06 20:12:49 +01:00
|
|
|
USES= gettext-runtime gmake gnome iconv libtool localbase pathfix pkgconfig tar:xz
|
|
|
|
|
2013-05-22 11:04:54 +02:00
|
|
|
SLAVEDIRS= mail/gmime26-sharp
|
|
|
|
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}26
|
2014-05-18 20:34:03 +02:00
|
|
|
USE_GNOME+= glib20
|
2013-05-22 11:04:54 +02:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2017-01-06 01:36:05 +01:00
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
|
2022-12-24 11:05:01 +01:00
|
|
|
OPTIONS_DEFINE= GINTRO VAPI
|
2019-03-06 20:12:49 +01:00
|
|
|
OPTIONS_SUB= yes
|
|
|
|
GINTRO_DESC= Install GObject Introspection data
|
|
|
|
GINTRO_BUILD_DEPENDS= gobject-introspection>=0.6.8:devel/gobject-introspection
|
|
|
|
GINTRO_RUN_DEPENDS= gobject-introspection>=0.6.8:devel/gobject-introspection
|
|
|
|
GINTRO_CONFIGURE_ENABLE=introspection
|
2022-12-24 11:05:01 +01:00
|
|
|
VAPI_USES= vala:build
|
|
|
|
VAPI_CONFIGURE_ENABLE= vala
|
|
|
|
VAPI_IMPLIES= GINTRO
|
2019-03-06 20:12:49 +01:00
|
|
|
|
2013-05-22 11:04:54 +02:00
|
|
|
# www.freebsd.org/cgi/query-pr.cgi?pr=118092
|
|
|
|
# Rename uudecode and uuencode to gmime-* to not conflict with userland
|
|
|
|
# fix kept in case issue returns
|
2017-01-06 01:36:05 +01:00
|
|
|
CONFIGURE_ARGS?=--enable-mono=no \
|
2013-05-22 11:04:54 +02:00
|
|
|
--program-transform-name="s/uuencode/gmime-uuencode/;s/uudecode/gmime-uudecode/;"
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS =/s/tests//' \
|
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|