source: trunk/dports/sysutils/createrepo/Portfile @ 50980

Last change on this file since 50980 was 50980, checked in by and.damore@…, 8 years ago

Maintainers batch change, removed @macports.org

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 50980 2009-05-14 19:41:55Z and.damore@macports.org $
2
3PortSystem 1.0
4
5name                    createrepo
6version                 0.4.11
7categories              sysutils
8platforms               darwin
9maintainers             afb
10description             generates common metadata for package repositories
11long_description        createrepo generates the metadata necessary for an RPM package \
12                        repository. This repository format (repodata) is supported by \
13                        apt, red-carpet(zen), smart, up2date, Yast and yum.
14
15homepage                http://createrepo.baseurl.org/
16master_sites            ${homepage}download/
17checksums               md5 3e9ccf4abcffe3f49af078c83611eda2 \
18                                sha1 10316e9ee98e92f961c727cf991589611a2de7cb \
19                                rmd160 74b89d3f097914bd5fc67282d083c063ad7fc18e
20patchfiles              patch-Makefile patch-createrepo patch-modifyrepo \
21                        patch-dumpMetadata.py patch-genpkgmetadata.py \
22                        patch-readMetadata.py patch-modifyrepo.py
23
24depends_run             port:python24 port:rpm port:py-yum-metadata-parser
25# this should be depends_test:
26depends_build   port:py-checker
27
28post-patch {
29        reinplace "s|__PREFIX__|${prefix}|g" \
30                ${worksrcpath}/bin/createrepo ${worksrcpath}/bin/modifyrepo
31        reinplace "s|__PYTHON__|${prefix}/bin/python2.4|g" \
32                ${worksrcpath}/dumpMetadata.py ${worksrcpath}/genpkgmetadata.py \
33                ${worksrcpath}/readMetadata.py ${worksrcpath}/modifyrepo.py
34}
35
36use_configure   no
37
38build.args      prefix=${prefix} PYTHON="${prefix}/bin/python2.4"
39
40destroot.args   prefix=${prefix} INSTALL="/usr/bin/install -p" INSTALL_MODULES="/usr/bin/install -m 755"
41
42test.run                yes
43test.target             check
44
45livecheck.check regex
46# get the last modified tarball
47livecheck.url   ${master_sites}?C=M\;O=D
48livecheck.regex ${name}-(0\.4\.\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.