# $Id: Portfile 65828 2010-04-01 15:37:37Z jameskyle@macports.org $ PortSystem 1.0 PortGroup python26 1.0 name py26-imdb version 4.0 categories python 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} depends_lib-append port:py26-lxml checksums md5 873fb1550f0fde04acbb297b74c94377 \ sha1 dc24344461c9a1bd38d3eddd34768d4dd468202e \ rmd160 6243c0ddb0084e3d31bf217c04d6382386d83b83 python.link_binaries no post-destroot { eval move [glob ${destroot}${python.prefix}/doc/*] \ ${destroot}${prefix}/share/doc/${name} set filesToLink26 {characters4local companies4local get_character \ get_company get_first_character get_first_company get_first_movie \ get_first_person get_keyword get_movie get_person get_top_bottom_movies \ imdbpy2sql misc-companies4local mpaa4local search_character \ search_company search_keyword search_movie search_person topbottom4local} foreach f ${filesToLink26} { ln -s ${python.prefix}/bin/${f}.py \ ${destroot}${prefix}/bin/${f}-2.6.py } 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} }