# $Id: Portfile 63058 2010-01-24 21:50:04Z ram@macports.org $

PortSystem    1.0
PortGroup     python26 1.0

name          glue
version       1.29
revision      1
categories    science
platforms     darwin
maintainers   ram
license       GPL

description   Grid LSC User Environment
long_description \
  Glue is a suite of python modules and programs to allow users to run \
  LSC codes on the grid.

homepage      https://www.lsc-group.phys.uwm.edu/daswg/projects/glue.html
master_sites  http://www.lsc-group.phys.uwm.edu/daswg/download/software/source/

checksums     md5 5e8f5ba582c0213c3fbe011ab5e29fa2 \
              sha1 24127739cfcc84cd51329a83a9b5f580fc7c5e02 \
              rmd160 58a8c3c2050e561e2c90c7b4167977e9e10e08de

patchfiles    patch-80c921ffdd494d0a623b1fb829528ae18635645b.diff
patch.pre_args -p2

depends_lib-append port:py26-numpy \
                   port:py26-pyrxp \
                   port:py26-m2crypto \
                   port:py26-cjson \
                   port:py26-pyxmpp

python.link_binaries no

post-destroot {
  foreach x [glob -type {x} ${destroot}${python.prefix}/bin/*] { system "ln $x ${destroot}${prefix}/bin" }
}

livecheck.type   regex
livecheck.url    ${master_sites}
livecheck.regex  {glue-(\d+(?:\.\d+)*).tar.gz}
