source: trunk/dports/graphics/graphviz-gui-devel/Portfile @ 97225

Last change on this file since 97225 was 97225, checked in by ryandesign@…, 7 years ago

graphviz-devel, graphviz-gui-devel, gvedit-devel: update to 2.29.20120831.0445

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
Line 
1# -*- 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
2# $Id: Portfile 97225 2012-08-31 08:24:48Z ryandesign@macports.org $
3
4PortSystem                      1.0
5PortGroup                       archcheck 1.0
6PortGroup                       xcode 1.0
7PortGroup                       xcodeversion 1.0
8
9# Keep relevant lines in sync between graphviz-devel, graphviz-gui-devel and gvedit-devel.
10
11name                            graphviz-gui-devel
12conflicts                       graphviz-gui graphviz-oldgui
13set my_name                     graphviz
14version                         2.29.20120831.0445
15categories                      graphics aqua
16maintainers                     ryandesign
17license                         EPL-1
18homepage                        http://www.graphviz.org/
19master_sites                    ${homepage}pub/graphviz/development/SOURCES/
20use_parallel_build              yes
21dist_subdir                     ${my_name}
22distname                        ${my_name}-${version}
23xcode.configuration             Release
24
25description                     Mac OS X Aqua GUI for viewing and exporting \
26                                Graphviz graphs
27
28long_description                ${description}.
29
30checksums                       rmd160  31d1b04d35508a919ea3637da2a574f5d414964b \
31                                sha256  750cfb290fad8a2bf8ef68435e6f30aae7cf978aac706dfa4bc1a2a7a8cc21ba
32
33depends_lib                     port:graphviz-devel
34
35archcheck.files                 lib/libgvc.dylib
36
37pre-fetch {
38    if {"darwin" != ${os.platform}} {
39        ui_error "${name} requires Mac OS X."
40        return -code error "incompatible operating system"
41    }
42    if {${os.major} < 9} {
43        ui_error "${name} requires Mac OS X 10.5 or greater. Try graphviz-oldgui instead."
44        return -code error "incompatible Mac OS X version"
45    }
46}
47
48# graphviz needs Xcode 3.1+ to avoid the libGL error when building the smyrna variant
49# graphviz-gui needs Xcode 3.1.2+; see #18811
50minimum_xcodeversions           {9 3.1.2}
51
52extract.post_args-append        ${worksrcdir}/macosx ${worksrcdir}/doc
53
54patchfiles                      patch-project.pbxproj.diff
55
56build.dir                       ${worksrcpath}/macosx
57xcode.build.settings            PREFIX=${prefix}
58
59xcode.destroot.settings         ${xcode.build.settings}
60
61livecheck.type                  regex
62livecheck.url                   ${homepage}Download_source.php
63livecheck.regex                 ${my_name}-(\[0-9\]+\\.\[0-9\]*\[13579\](\\.\[0-9\]+)*)\\.tar
Note: See TracBrowser for help on using the repository browser.