aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/bison/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/bison/Makefile b/devel/bison/Makefile
index 0338555b6f6d..4ebdbb7eb314 100644
--- a/devel/bison/Makefile
+++ b/devel/bison/Makefile
@@ -49,7 +49,9 @@ post-extract:
@${REINPLACE_CMD} 's/ install-exec-local//' ${WRKSRC}/lib/Makefile.in
.endif
-.if empty(PORT_OPTIONS:MDOCS)
+.if ${PORT_OPTIONS:MEXAMPLES}
+PORTEXAMPLES= calc++
+
post-install:
${MKDIR} ${EXAMPLESDIR}/calc++
${INSTALL_DATA} ${WRKSRC}/examples/calc++/*.[chly]* \