Source
xxxxxxxxxx
return [exec /usr/bin/sed -E -n s/^\[\[:space:\]\]*"\[Vv\]ersion:\[\[:space:\]\]*(\[0-9.\]+).*/\\1/p ${build.dir}/mainwindow.cpp]
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup xcodeversion 1.0
# Please keep the graphviz and graphviz-devel ports as similar as possible.
name graphviz
set my_name graphviz
version 2.40.1
revision 2
set thisbranch [strsed ${name} "g/^${my_name}//"]
set otherbranch [expr {${thisbranch} eq {} ? {-devel} : {}}]
categories graphics
maintainers {ryandesign @ryandesign}
license EPL-1
homepage http://www.graphviz.org/
master_sites ${homepage}pub/graphviz/stable/SOURCES/
platforms darwin
use_parallel_build yes
dist_subdir ${my_name}
distname ${my_name}-${version}
description graph visualization software
long_description Graphviz is ${description}. Graph visualization \
is a way of representing structural information \
as diagrams of abstract graphs and networks. The \
Graphviz layout programs dot, neato, fdp, sfdp, \
twopi and circo take descriptions of graphs in a \
simple text language, and produce output in a \
variety of visual and text formats.
checksums rmd160 8fc103fc519e07e9db522ec2f748838571c71acf \
sha256 ca5218fade0204d59947126c38439f432853543b0818d9d728c589dfe7f3a421
# graphviz needs Xcode 3.1+ to avoid the libGL error when building the smyrna variant
# graphviz-gui needs Xcode 3.1.2+; see #18811
minimum_xcodeversions {9 3.1.2}
if {${name} eq ${subport}} {
revision 2
conflicts graphviz${otherbranch}
depends_build port:pkgconfig
depends_lib port:jpeg \
port:libpng \
port:webp \
port:fontconfig \
port:freetype \
port:expat \
port:gd2 \
port:gts \
port:libtool \
port:zlib \
port:gettext
depends_run port:urw-fonts
configure.args --disable-silent-rules \
--with-codegens \