# $Id: Portfile 48480 2009-03-23 07:11:02Z blb@macports.org $

PortSystem          1.0
PortGroup           python24 1.0
name                py-imdb
version             4.0
maintainers         nomaintainer
description         python module providing access to the IMDb movie database
long_description \
   py-imdb is a Python package useful to retrieve and manage the data of the \
   IMDb movie database.

platforms           darwin

homepage            http://imdbpy.sourceforge.net/
master_sites        sourceforge:imdbpy
distname            IMDbPY-${version}

checksums           md5     873fb1550f0fde04acbb297b74c94377 \
                    sha1    dc24344461c9a1bd38d3eddd34768d4dd468202e \
                    rmd160  6243c0ddb0084e3d31bf217c04d6382386d83b83

post-destroot {
   move ${destroot}${prefix}/etc/imdbpy.cfg \
      ${destroot}${prefix}/etc/imdbpy.cfg.sample-2.4
   eval move [glob ${destroot}${prefix}/doc/*] \
      ${destroot}${prefix}/share/doc/${name}
   xinstall -m 644 -W ${worksrcpath}/docs AUTHOR.txt CREDITS.txt \
      Changelog.txt DISCLAIMER.txt GPL.txt INSTALL.txt LICENSE.txt \
      README.devel README.package README.txt README.users TODO.txt \
      ${destroot}${prefix}/share/doc/${name}
}

