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