# $Id: Portfile 77231 2011-03-24 12:05:46Z jmr@macports.org $

PortSystem              1.0
name                    xgraph
version                 12.1
revision                2
categories              math x11
platforms               darwin
maintainers             nomaintainer
description             VINT xgraph
long_description        xgraph provides interactive plotting and graphing
homepage                http://www.isi.edu/nsnam/xgraph
master_sites            http://www.isi.edu/nsnam/dist/
checksums               md5 c4cbfb3291a607dd274e7fb161b9056a

depends_lib             port:xorg-libX11 \
                        port:xorg-libsm

# http://www.blasted-heath.com/xg/
patchfiles              patch-64b.diff
patch.pre_args          -p1

post-destroot           {
    move ${destroot}${prefix}/man/manm/xgraph.man \
        ${destroot}${prefix}/share/man/man1/xgraph.1
}
