Ticket #19600: Portfile

File Portfile, 983 bytes (added by voldmar@…, 15 years ago)
Line 
1# $Id: Portfile 37035 2008-05-23 22:34:04Z ryandesign@macports.org $
2
3PortSystem 1.0
4PortGroup python26 1.0
5
6name                    py26-exif
7version                 1.0.2
8epoch           1
9categories              python
10platforms               darwin freebsd
11maintainers             nomaintainer
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             python/${name}/${version}
22checksums               md5 550eb23304b7c2a36f2bc90825a7c688 \
23                        sha1 c39b04caf2d17a7ee0ed46a829779b5e8ecb56b9 \
24                        rmd160 0ba9ced796faabd60abc2bd20e47847bc6993c64
25
26extract {
27        file mkdir ${worksrcpath}
28        file copy ${distpath}/EXIF.py ${worksrcpath}/exif.py
29        file copy ${filespath}/setup.py ${worksrcpath}
30        reinplace "s|VERSION|${version}|g" ${worksrcpath}/setup.py
31}