source: trunk/dports/graphics/graphviz/Portfile @ 5603

Last change on this file since 5603 was 5603, checked in by gwright, 16 years ago

Changed the name of the 'gpr' program to 'gv-gpr' to avoid colliding with
gnu 'pr'.
Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

  • Property svn:eol-style set to native
File size: 1.9 KB
Line 
1# $Id: Portfile,v 1.12 2004/02/25 17:44:55 gwright Exp $
2
3PortSystem 1.0
4name            graphviz
5version         1.10
6categories      graphics
7maintainers     gwright@comcast
8description     Graph visualization software from AT&T and Bell Labs
9long_description \
10                Graph Visualization Software from AT&T Laboratories and \
11                Bell Laboratories (Lucent Technologies).                \
12                                                                        \
13                The package contains:                                   \
14                dotty  - customizable X windows graph viewer written in \
15                         the Lefty editor                               \
16                tcldot - customizable TCL/tk graph viewer written by    \
17                         John Ellson                                    \
18                dot    - batch program for drawing directed graphs as   \
19                         hierarchies                                    \
20                neato  - batch program for drawing undirected graphs    \
21                         using Kamada-Kawai spring models.
22
23platforms       darwin
24homepage        http://www.graphviz.org/
25master_sites    http://www.graphviz.org/pub/graphviz/ARCHIVE/
26
27checksums       md5 e1402531abff68d146bf94e72b44dc2a
28
29depends_lib     lib:libX11.6:XFree86 lib:libjpeg.62:jpeg lib:libpng.3:libpng \
30                lib:libfreetype.6:freetype
31
32patchfiles      patch-ltmain.sh patch-dgl.c
33
34configure.args  --mandir=${prefix}/share/man
35
36#
37# The post-destroot phase is a hack to fix a name collision between
38# graphviz's 'gpr' graph processing language and the 'pr' program from
39# the coreutils port, which installs as 'gpr'. (Coreutils 'pr' acquires
40# a 'g' to denote its GNU origin.)
41#
42
43post-destroot   { cd ${destroot}/${prefix}/bin
44                  file rename gpr gv-gpr
45
46                  cd ${destroot}/${prefix}/man/man1
47                  file rename gpr.1 gv-gpr.1
48
49                  reinplace s/gpr/gv-gpr/g acyclic.1
50                  reinplace s/gpr/gv-gpr/g ccomps.1
51                  reinplace s/gpr/gv-gpr/g colorize.1
52                  reinplace s/gpr/gv-gpr/g gc.1
53                  reinplace s/gpr/gv-gpr/g gv-gpr.1
54                  reinplace s/gpr/gv-gpr/g gvpack.1
55                  reinplace s/gpr/gv-gpr/g nop.1
56                  reinplace s/gpr/gv-gpr/g prune.1
57                  reinplace s/gpr/gv-gpr/g sccmap.1
58                  reinplace s/gpr/gv-gpr/g tred.1
59                  reinplace s/gpr/gv-gpr/g unflatten.1
60                }
Note: See TracBrowser for help on using the repository browser.