source: trunk/dports/python/py-magic/Portfile @ 20382

Last change on this file since 20382 was 20382, checked in by blair@…, 13 years ago

Set the svn:keywords property to 'Id' for all Portfile's. This
re-enables the Id keyword substitution that was present in the CVS
repository.

See this thread for more information:
http://lists.macosforge.org/pipermail/macports-dev/2006-October/000180.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 780 bytes
Line 
1# $Id: Portfile 20382 2006-11-02 21:38:50Z blair@macports.org $
2
3PortSystem 1.0
4PortGroup python24 1.0
5
6name                    py-magic
7version                 0.1
8revision                1
9categories              python sysutils
10platforms               darwin
11maintainers             mww@opendarwin.org
12description             python module for determining a files or streams magic number
13long_description        Determines the mime type of a file using magic \
14                                numbers. Can also operate on arbitrary data streams. \
15                                Much like the Unix file(1) program.
16
17homepage                http://www.demonseed.net/~jp/code/
18master_sites    ${homepage}
19distfiles               magic.py
20dist_subdir             python/${name}/${version}
21checksums               md5 933b7679727d644f82354dd3ac6cdad7
22
23extract {
24        file mkdir ${worksrcpath}
25        file copy ${distpath}/magic.py ${worksrcpath}
26        file copy ${filespath}/setup.py ${worksrcpath}
27        reinplace "s|VERSION|${version}|g" ${worksrcpath}/setup.py
28}
Note: See TracBrowser for help on using the repository browser.