diff options
author | Jeremy Messenger <mezz@FreeBSD.org> | 2013-03-20 06:16:27 +0800 |
---|---|---|
committer | Jeremy Messenger <mezz@FreeBSD.org> | 2013-03-20 06:16:27 +0800 |
commit | c01b9a03da238c935e4839a22a97941fda6dd9bf (patch) | |
tree | 611603c71cd3249dbd6ae061a923a6551a24098a /graphics | |
parent | 2ab7c53061466f62395b8d00a3ba65fe58e70108 (diff) | |
download | freebsd-ports-gnome-c01b9a03da238c935e4839a22a97941fda6dd9bf.tar.gz freebsd-ports-gnome-c01b9a03da238c935e4839a22a97941fda6dd9bf.tar.zst freebsd-ports-gnome-c01b9a03da238c935e4839a22a97941fda6dd9bf.zip |
Add a check on if graphviz is installed with PANGOCAIRO support. If not then
give an error about it.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/gegl/Makefile | 8 |
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} |