From 1ab2ae78ed2f3ea6649b42da1a695380b14e7c40 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Tue, 15 Jul 2014 15:04:30 +0000 Subject: [PATCH] Add DOCS to OPTIONS_DEFINE to ports that check for PORT_OPTIONS:MDOCS. --- converters/py-zfec/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/converters/py-zfec/Makefile b/converters/py-zfec/Makefile index cbb31bf0b289..7670f64cd23b 100644 --- a/converters/py-zfec/Makefile +++ b/converters/py-zfec/Makefile @@ -24,7 +24,9 @@ PYDISTUTILS_AUTOPLIST= yes DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} -.include +OPTIONS_DEFINE= DOCS + +.include post-patch: @${REINPLACE_CMD} -e 's|share/doc|${DOCSDIR}|g ; \ @@ -38,4 +40,4 @@ post-install: .endfor .endif -.include +.include