svn commit: r314699 - head/graphics/gegl

Jeremy Messenger mezz at FreeBSD.org
Tue Mar 19 22:16:28 UTC 2013


Author: mezz
Date: Tue Mar 19 22:16:27 2013
New Revision: 314699
URL: http://svnweb.freebsd.org/changeset/ports/314699

Log:
  Add a check on if graphviz is installed with PANGOCAIRO support. If not then
  give an error about it.

Modified:
  head/graphics/gegl/Makefile

Modified: head/graphics/gegl/Makefile
==============================================================================
--- head/graphics/gegl/Makefile	Tue Mar 19 22:02:49 2013	(r314698)
+++ head/graphics/gegl/Makefile	Tue Mar 19 22:16:27 2013	(r314699)
@@ -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}


More information about the svn-ports-all mailing list