aboutsummaryrefslogtreecommitdiff
path: root/mail/gmime2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/gmime2/Makefile')
-rw-r--r--mail/gmime2/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/mail/gmime2/Makefile b/mail/gmime2/Makefile
index 97dc6448c94c..2349e7d71047 100644
--- a/mail/gmime2/Makefile
+++ b/mail/gmime2/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gmime
-PORTVERSION= 2.1.15
+PORTVERSION= 2.1.16
CATEGORIES= mail
MASTER_SITES= http://spruce.sourceforge.net/gmime/sources/v2.1/
@@ -27,4 +27,16 @@ INSTALLS_SHLIB= yes
LATEST_LINK= gmime2
+.if !defined(NOPORTDOCS)
+PORTDOCS= *
+.endif
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for i in docs/reference/html/*
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+.endfor
+.endif
+
.include <bsd.port.mk>