summaryrefslogtreecommitdiff
path: root/converters/tnef
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2012-08-03 15:34:45 +0000
committerRenato Botelho <garga@FreeBSD.org>2012-08-03 15:34:45 +0000
commit90d97bb7c0b335bf482b1243aaab6676246ab4ea (patch)
tree840e8379f841715c5db9a647458ff49f7766d803 /converters/tnef
parentUpdate to version 0.38. (diff)
Add DOCS, EXAMPLES and NLS to OPTIONS_DEFINE to my ports
Notes
Notes: svn path=/head/; revision=301957
Diffstat (limited to 'converters/tnef')
-rw-r--r--converters/tnef/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/converters/tnef/Makefile b/converters/tnef/Makefile
index b7c8b00149b6..8019748d71cf 100644
--- a/converters/tnef/Makefile
+++ b/converters/tnef/Makefile
@@ -13,6 +13,9 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/
MAINTAINER= garga@FreeBSD.org
COMMENT= Unpack data in MS Outlook TNEF format
+OPTIONS_DEFINE= DOCS
+OPTIONS_DEFAULT=DOCS
+
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
@@ -20,8 +23,10 @@ MAN1= tnef.1
PORTDOCS= AUTHORS NEWS README THANKS TODO
PLIST_FILES= bin/tnef
+.include <bsd.port.pre.mk>
+
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
@@ -32,4 +37,4 @@ x-test: build
@cd ${WRKSRC}/tests/${dir} && ${MAKE} check-TESTS
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>