aboutsummaryrefslogtreecommitdiff
path: root/mail/gmime24
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-09-03 16:03:41 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-09-03 16:03:41 +0000
commitad32ee489b95068d00dbacce040adc76a6a5a69d (patch)
tree111cdd489d19fdb7c8a340006ca8851965bd0001 /mail/gmime24
parent990385c367690d24a152ba977f8e1d9be927295e (diff)
downloadports-ad32ee489b95068d00dbacce040adc76a6a5a69d.tar.gz
ports-ad32ee489b95068d00dbacce040adc76a6a5a69d.zip
Notes
Diffstat (limited to 'mail/gmime24')
-rw-r--r--mail/gmime24/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/mail/gmime24/Makefile b/mail/gmime24/Makefile
index 3e12f6a97a25..f2ace96822db 100644
--- a/mail/gmime24/Makefile
+++ b/mail/gmime24/Makefile
@@ -18,9 +18,8 @@ CONFLICTS= gmime-1.0.*
SLAVEDIRS= mail/gmime2-sharp
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}24
-USE_GMAKE= yes
USE_GNOME?= glib20
-USES= pathfix pkgconfig iconv
+USES= gmake pathfix pkgconfig iconv
USE_LDCONFIG= yes
USE_XZ= yes
GNU_CONFIGURE= yes
@@ -35,14 +34,18 @@ CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LATEST_LINK?= ${PORTNAME}24
+OPTIONS_DEFINE= DOCS
+
PORTDOCS= *
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|-DG_DISABLE_DEPRECATED||g' \
${WRKSRC}/*/Makefile.in
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for i in docs/reference/html/*
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}