2003-05-13 18:44:04 +02:00
|
|
|
# New ports collection makefile for: gmime2
|
|
|
|
# Date created: 16 Apr 2001
|
|
|
|
# Whom: Kirill Ponomarew <ponomarew@oberon.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gmime
|
2009-10-11 04:29:49 +02:00
|
|
|
PORTVERSION= 2.2.24
|
2008-08-17 07:22:37 +02:00
|
|
|
PORTREVISION?= 0
|
2005-10-05 04:17:58 +02:00
|
|
|
CATEGORIES?= mail
|
2009-10-11 04:29:49 +02:00
|
|
|
MASTER_SITES= GNOME
|
2003-05-13 18:44:04 +02:00
|
|
|
|
2005-11-07 13:53:33 +01:00
|
|
|
MAINTAINER?= mnag@FreeBSD.org
|
2005-10-05 04:17:58 +02:00
|
|
|
COMMENT?= Library (written in C) for parsing and creating messages using MIME
|
2003-05-13 18:44:04 +02:00
|
|
|
|
2009-10-11 04:29:49 +02:00
|
|
|
CONFLICTS= gmime-1.0.* gmime-2.4.*
|
2003-05-13 18:44:04 +02:00
|
|
|
|
2007-04-06 05:38:23 +02:00
|
|
|
SLAVEDIRS= mail/gmime2-sharp
|
|
|
|
|
2004-02-14 21:51:20 +01:00
|
|
|
USE_ICONV= yes
|
2003-08-10 08:09:30 +02:00
|
|
|
USE_GMAKE= yes
|
2006-11-10 22:19:39 +01:00
|
|
|
USE_GNOME?= gnomehack gnometarget glib20
|
2006-08-14 05:51:40 +02:00
|
|
|
USE_LDCONFIG= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2005-10-05 04:17:58 +02:00
|
|
|
CONFIGURE_ARGS?= --with-libiconv=${LOCALBASE} \
|
|
|
|
--with-html-dir=${PREFIX}/share/doc \
|
|
|
|
--enable-mono=no
|
2006-01-20 23:20:54 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
2003-05-13 18:44:04 +02:00
|
|
|
|
2006-01-20 23:20:54 +01:00
|
|
|
LATEST_LINK?= ${PORTNAME}2
|
2004-02-06 12:17:54 +01:00
|
|
|
|
2005-08-28 12:35:26 +02:00
|
|
|
PORTDOCS= *
|
|
|
|
|
2006-08-14 05:51:40 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e "s|stdint.h|inttypes.h|" ${WRKSRC}/zentimer.h
|
|
|
|
|
2005-08-28 12:35:26 +02:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for i in docs/reference/html/*
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2003-05-13 18:44:04 +02:00
|
|
|
.include <bsd.port.mk>
|