source: trunk/dports/python/py26-simplejson/Portfile @ 48459

Last change on this file since 48459 was 48459, checked in by blb@…, 8 years ago

My python ports - fix livecheck

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 48459 2009-03-22 21:01:31Z blb@macports.org $
3
4PortSystem          1.0
5PortGroup           python26 1.0
6
7name                py26-simplejson
8version             2.0.7
9categories-append   www
10maintainers         blb openmaintainer
11description         simplejson is a JSON encoder and decoder.
12long_description    ${description}
13
14platforms           darwin
15
16homepage            http://undefined.org/python/#simplejson
17master_sites        http://cheeseshop.python.org/packages/source/s/simplejson/
18distname            simplejson-${version}
19
20depends_lib         port:py26-setuptools
21
22checksums           md5     9d02273f8615b8e3fceda891ffff10d1 \
23                    sha1    5c3ac8802aa42e63d057bbd024086593dc233dce \
24                    rmd160  220463dff32e40caba0cebacc2697ed825a17512
25
26post-destroot {
27    xinstall -m 644 -W ${worksrcpath} \
28        LICENSE.txt \
29        ${destroot}${prefix}/share/doc/${name}
30    foreach f [glob -directory ${worksrcpath}/docs *] {
31        copy $f ${destroot}${prefix}/share/doc/${name}/[file tail $f]
32    }
33}
34
35livecheck.check     regex
36livecheck.url       ${master_sites}
37livecheck.regex     {simplejson-([0-9.]+)\.tar\.gz}
38
Note: See TracBrowser for help on using the repository browser.