# $Id: Portfile 70092 2010-07-29 20:53:33Z ram@macports.org $

PortSystem    1.0
PortGroup     python26 1.0

name          glue
version       1.32
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 259ac77de5c2743bdde4a09dd710caf3 \
              sha1 c35b2c57735b4bb9515516b62408a9119b194f8f \
              rmd160 a4f8ce662c9c753b662ca93f27eed01ce92f9164

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}
