source: trunk/dports/sysutils/repoview/Portfile @ 32034

Last change on this file since 32034 was 32034, checked in by afb@…, 12 years ago

update description and homepage

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 32034 2007-12-14 09:11:04Z afb@macports.org $
2
3PortSystem 1.0
4
5name                    repoview
6version                 0.6.1
7categories              sysutils
8platforms               darwin
9maintainers             afb@macports.org
10description             make common metadata package repositories browseable
11long_description        RepoView allows one to easily create a set of static HTML pages \
12                        in a repodata repository, allowing simple browsing of available packages. \
13                        It uses kid templating engine to create the pages and is therefore \
14                        easily customizeable.
15
16homepage                http://mricon.com/trac/wiki/Repoview
17master_sites            http://mricon.com/downloads/repoview/
18checksums               md5 88edc05aba35e4b2734ad9cc11759438 \
19                                sha1 43c7f98629377a914555a4d9416164a417a2e64b \
20                                rmd160 5cfb28fd5c577d88938fab62d71c66c5b964cea4
21patchfiles              patch-repoview.py
22
23depends_run             port:python24 port:yum port:py-kid
24
25post-patch {
26        reinplace "s|/usr/bin/python|${prefix}/bin/python2.4|g" ${worksrcpath}/repoview.py
27        reinplace "s|/usr/share/repoview|${prefix}/share/repoview|g" ${worksrcpath}/repoview.py
28}
29
30use_configure   no
31build {}
32
33destroot {
34        xinstall -m 755 ${worksrcpath}/repoview.py ${destroot}${prefix}/bin/repoview
35        xinstall -m 644 ${worksrcpath}/repoview.8 ${destroot}${prefix}/share/man/man8
36        xinstall -d -m 755 ${destroot}${prefix}/share/repoview
37        copy ${worksrcpath}/templates ${destroot}${prefix}/share/repoview/templates
38}
39
40livecheck.check regex
41livecheck.url   ${homepage}
42livecheck.regex Latest version is \[a-zA-Z\]*-(\[0-9.\]*)
Note: See TracBrowser for help on using the repository browser.