aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gegl/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/graphics/gegl/Makefile b/graphics/gegl/Makefile
index 2a69c213c5df..0e407b47c4bb 100644
--- a/graphics/gegl/Makefile
+++ b/graphics/gegl/Makefile
@@ -207,6 +207,14 @@ post-patch:
${REINPLACE_CMD} -e 's|/usr/bin/ruby|/usr/bin/env ruby|' \
${WRKSRC}/tools/gobj2dot.rb
+.if ${PORT_OPTIONS:MDOCS}
+pre-configure:
+.if !exists(${LOCALBASE}/bin/vimdot)
+ @${ECHO_CMD} "${PKGNAME}: Needs graphics/graphviz with PANGOCAIRO support enabled."
+ @${FALSE}
+.endif
+.endif
+
post-build:
.if ${PORT_OPTIONS:MDOCS}
cd ${WRKSRC}/docs && ${GMAKE}