aboutsummaryrefslogtreecommitdiffstats
path: root/converters/enca/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'converters/enca/Makefile')
-rw-r--r--converters/enca/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/converters/enca/Makefile b/converters/enca/Makefile
index a97c7b54b3f..22ed6f69a4f 100644
--- a/converters/enca/Makefile
+++ b/converters/enca/Makefile
@@ -30,8 +30,11 @@ MAN1= enca.1
MLINKS= enca.1 enconv.1
NO_STAGE= yes
+
+.include <bsd.port.options.mk>
+
post-patch::
-.if defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e 's#\ devel-docs##g' ${WRKSRC}/Makefile.in
.endif
@${REINPLACE_CMD} -e 's/$$(LN_S)/$$(LN_S) -f/' ${WRKSRC}/src/Makefile.in