freebsd-ports/mail/gmime2/Makefile

48 lines
1,023 B
Makefile
Raw Normal View History

# New ports collection makefile for: gmime2
# Date created: 16 Apr 2001
# Whom: Kirill Ponomarew <ponomarew@oberon.net>
#
# $FreeBSD$
#
PORTNAME= gmime
PORTVERSION= 2.2.24
2008-08-17 07:22:37 +02:00
PORTREVISION?= 0
CATEGORIES?= mail
MASTER_SITES= GNOME
2005-11-07 13:53:33 +01:00
MAINTAINER?= mnag@FreeBSD.org
COMMENT?= Library (written in C) for parsing and creating messages using MIME
CONFLICTS= gmime-1.0.* gmime-2.4.*
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
USE_GNOME?= gnomehack gnometarget glib20
2006-08-14 05:51:40 +02:00
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
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"
2006-01-20 23:20:54 +01:00
LATEST_LINK?= ${PORTNAME}2
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
.include <bsd.port.mk>