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-devel
set my_name graphviz
version 2.41.20171026.1811
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/development/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 f5680f1d6b1e67af9e874732cd0c60465b23d587 \
sha256 d06e76d2f8a97cbd63927191a0be6d0b35525832b89de59baafe48d6400f0699 \
size 25589016
# 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 1
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 \