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

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

graphviz-devel, graphviz-gui-devel: update to 2.27.20101127.0545

  • 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 73859 2010-11-27 09:44:56Z ryandesign@macports.org $
3
4PortSystem                      1.0
5PortGroup                       archcheck 1.0
6PortGroup                       xcode 1.0
7PortGroup                       xcodeversion 1.0
8
9name                            graphviz-gui-devel
10conflicts                       graphviz-gui graphviz-oldgui
11set my_name                     graphviz
12# keep version in sync between graphviz-devel and graphviz-gui-devel
13version                         2.27.20101127.0545
14categories                      graphics aqua
15maintainers                     ryandesign
16license                         CPLv1.0
17homepage                        http://www.graphviz.org/
18master_sites                    ${homepage}pub/graphviz/development/SOURCES/
19use_parallel_build              yes
20dist_subdir                     ${my_name}
21distname                        ${my_name}-${version}
22xcode.configuration             Release
23
24description                     Mac OS X Aqua GUI for viewing and exporting \
25                                Graphviz graphs
26
27long_description                ${description}.
28
29checksums                       sha1    6dbe9993bf3e57f7ad9632ecee94e4107c3311f6 \
30                                rmd160  befc90440b35801979ef4315e33c8c4c8bb1b069
31
32depends_lib                     port:graphviz-devel
33
34archcheck.files                 lib/libgvc.dylib
35
36pre-fetch {
37    if {"darwin" != ${os.platform}} {
38        ui_error "${name} requires Mac OS X."
39        return -code error "incompatible operating system"
40    }
41    if {${os.major} < 9} {
42        ui_error "${name} requires Mac OS X 10.5 or greater. Try graphviz-oldgui instead."
43        return -code error "incompatible Mac OS X version"
44    }
45}
46
47# graphviz needs Xcode 3.1+ to avoid the libGL error when building the smyrna variant
48# graphviz-gui needs Xcode 3.1.2+; see #18811
49minimum_xcodeversions           {9 3.1.2}
50
51extract.post_args-append        ${worksrcdir}/macosx ${worksrcdir}/doc
52
53patchfiles                      patch-project.pbxproj.diff
54
55build.dir                       ${worksrcpath}/macosx
56xcode.build.settings            PREFIX=${prefix}
57
58xcode.destroot.settings         ${xcode.build.settings}
59
60# keep livecheck in sync between graphviz-devel and graphviz-gui-devel
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.