2013-04-23 16:20:25 +02:00
|
|
|
# Created by: Kirill Ponomarew <ponomarew@oberon.net>
|
2009-02-09 10:00:01 +01:00
|
|
|
|
|
|
|
PORTNAME= gmime
|
2012-11-30 03:44:55 +01:00
|
|
|
PORTVERSION= 2.4.33
|
2016-12-08 20:23:24 +01:00
|
|
|
PORTREVISION?= 3
|
2009-02-09 10:00:01 +01:00
|
|
|
CATEGORIES?= mail
|
|
|
|
MASTER_SITES= GNOME
|
2014-05-28 21:56:41 +02:00
|
|
|
PKGNAMESUFFIX?= 24
|
2009-02-09 10:00:01 +01:00
|
|
|
|
2014-12-24 01:14:11 +01:00
|
|
|
MAINTAINER?= bofh@FreeBSD.org
|
2009-02-09 10:00:01 +01:00
|
|
|
COMMENT?= Library (written in C) for parsing and creating messages using MIME
|
|
|
|
|
2012-05-24 23:20:06 +02:00
|
|
|
LICENSE= LGPL21
|
|
|
|
|
2009-02-09 10:00:01 +01:00
|
|
|
CONFLICTS= gmime-1.0.*
|
|
|
|
|
|
|
|
SLAVEDIRS= mail/gmime2-sharp
|
|
|
|
|
2009-02-20 15:48:01 +01:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}24
|
2019-11-08 15:18:06 +01:00
|
|
|
USES+= gmake gnome iconv libtool pathfix pkgconfig tar:xz
|
2013-05-09 00:23:36 +02:00
|
|
|
USE_GNOME?= glib20
|
2009-02-09 10:00:01 +01:00
|
|
|
USE_LDCONFIG= yes
|
2019-11-08 15:18:06 +01:00
|
|
|
|
2009-02-09 10:00:01 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2012-05-24 23:20:06 +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
|
2011-06-12 21:06:25 +02:00
|
|
|
CONFIGURE_ARGS?=--with-html-dir=${PREFIX}/share/doc \
|
2012-05-24 23:20:06 +02:00
|
|
|
--enable-mono=no \
|
|
|
|
--program-transform-name="s/uuencode/gmime-uuencode/;s/uudecode/gmime-uudecode/;"
|
2014-05-28 21:56:41 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2014-06-11 16:49:59 +02:00
|
|
|
LIBS+= -L${LOCALBASE}/lib
|
2009-02-09 10:00:01 +01:00
|
|
|
|
2013-09-03 18:03:41 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2012-05-24 23:20:06 +02:00
|
|
|
PORTDOCS= *
|
|
|
|
|
2013-05-06 13:13:56 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-DG_DISABLE_DEPRECATED||g' \
|
|
|
|
${WRKSRC}/*/Makefile.in
|
|
|
|
|
2015-09-03 18:37:31 +02:00
|
|
|
post-install-DOCS-on:
|
2013-11-15 11:44:23 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2009-02-09 10:00:01 +01:00
|
|
|
.for i in docs/reference/html/*
|
2013-11-15 11:44:23 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
|
2009-02-09 10:00:01 +01:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|