aboutsummaryrefslogtreecommitdiff
path: root/textproc/source-highlight
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/source-highlight')
-rw-r--r--textproc/source-highlight/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/textproc/source-highlight/Makefile b/textproc/source-highlight/Makefile
index e022ef67fb97..68991b9f0467 100644
--- a/textproc/source-highlight/Makefile
+++ b/textproc/source-highlight/Makefile
@@ -50,11 +50,11 @@ post-patch:
@${REINPLACE_CMD} -e '/install-data-am:/,/:/s/install-source_highlightdataDATA//g' \
${WRKSRC}/doc/Makefile.in ${WRKSRC}/src/Makefile.in
.endif
-.if ${PORT_OPTIONS:MDOCS}
+.if ! ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e '/install-data-am:/,/:/s/install-source_highlightdocDATA//g' \
${WRKSRC}/Makefile.in ${WRKSRC}/doc/Makefile.in ${WRKSRC}/tests/Makefile.in
.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
+.if ! ${PORT_OPTIONS:MEXAMPLES}
@${REINPLACE_CMD} -e '/install-data-am:/,/:/s/install-source_highlightlibexampleDATA//g' \
${WRKSRC}/lib/examples/Makefile.in
.endif