# $Id$ PortSystem 1.0 name repoview version 0.5.2 revision 2 categories sysutils platforms darwin maintainers afb description make common metadata package repositories browseable long_description RepoView allows one to easily create a set of static HTML pages \ in a repodata repository, allowing simple browsing of available packages. \ It uses kid templating engine to create the pages and is therefore \ easily customizeable. homepage https://fedorahosted.org/repoview/ master_sites http://icon.fedorapeople.org/repoview/old/ checksums md5 cc15d6ab4df4217db0ef8f0608343521 \ sha1 92d4e421775f0616ea90b7307776b50c222e479f \ rmd160 4b68b84095104a8e5ff6657c76e9ff8d63fc5b9a patchfiles patch-repoview.py depends_run port:python27 port:yum port:py27-kid post-patch { reinplace "s|/usr/bin/python|${prefix}/bin/python2.7|g" ${worksrcpath}/repoview.py reinplace "s|/usr/share/repoview|${prefix}/share/repoview|g" ${worksrcpath}/repoview.py reinplace "s|'./templates'|'${prefix}/share/repoview/templates'|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.type regex livecheck.url ${homepage} livecheck.regex Latest version is \[a-zA-Z\]*-(\[0-9.\]*)