# $Id: Portfile 29745 2007-10-08 11:39:31Z afb@macports.org $ PortSystem 1.0 name repoview version 0.6.1 categories sysutils platforms darwin maintainers afb@macports.org description make Yum repositories browseable long_description RepoView allows one to easily create a set of static HTML pages \ in a YUM repository, allowing simple browsing of available packages. \ It uses kid templating engine to create the pages and is therefore \ easily customizeable. homepage http://linux.duke.edu/projects/mini/repoview/ master_sites http://mricon.com/downloads/repoview/ checksums md5 88edc05aba35e4b2734ad9cc11759438 \ sha1 43c7f98629377a914555a4d9416164a417a2e64b \ rmd160 5cfb28fd5c577d88938fab62d71c66c5b964cea4 patchfiles patch-repoview.py depends_run port:python24 port:yum port:py-kid post-patch { reinplace "s|/usr/bin/python|${prefix}/bin/python2.4|g" ${worksrcpath}/repoview.py reinplace "s|/usr/share/repoview|${prefix}/share/repoview|g" ${worksrcpath}/repoview.py } use_configure no build {} destroot { xinstall -m 755 ${worksrcpath}/repoview.py ${destroot}${prefix}/bin/repoview xinstall -m 644 ${worksrcpath}/repoview.8 ${destroot}${prefix}/share/man/man8 xinstall -d -m 755 ${destroot}${prefix}/share/repoview copy ${worksrcpath}/templates ${destroot}${prefix}/share/repoview/templates } livecheck.check regex livecheck.url ${homepage} livecheck.regex Latest version is \[a-zA-Z\]*-(\[0-9.\]*)