Ticket #12620: Portfile

File Portfile, 875 bytes (added by macfreek (Freek Dijkstra), 17 years ago)

Patchfile for py-exif/Portfile

Line 
1# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $
2
3PortSystem 1.0
4PortGroup python24 1.0
5
6name                    py-exif
7version                 1.0.2
8revision                1
9categories              python
10platforms               darwin freebsd
11maintainers             nomaintainer@macports.org
12description             Python interface to the EXIF meta-data
13long_description        Exchangeable Image File Format for Digital Still \
14                                Cameras is a meta-information tag that can be embedded \
15                                in tiff or jpeg image files. py-exif is a Python \
16                                interface to this data.
17
18homepage                http://sourceforge.net/projects/exif-py/
19master_sites    sourceforge:exif-py
20distfiles               EXIF.py
21dist_subdir             ${version}
22checksums               md5 550eb23304b7c2a36f2bc90825a7c688
23
24extract {
25        file mkdir ${worksrcpath}
26        file copy ${distpath}/EXIF.py ${worksrcpath}/exif.py
27        file copy ${filespath}/setup.py ${worksrcpath}
28        reinplace "s|VERSION|${version}|g" ${worksrcpath}/setup.py
29}