# $Id: Portfile 102030 2013-01-25 04:24:16Z jmr@macports.org $

PortSystem 1.0
PortGroup python 1.0

name			py-exif
version			1.0.2
license			BSD
platforms		darwin freebsd
supported_archs	noarch
maintainers		nomaintainer
description		Python interface to the EXIF meta-data
long_description	Exchangeable Image File Format for Digital Still \
				Cameras is a meta-information tag that can be embedded \
				in tiff or jpeg image files. py-exif is a Python \
				interface to this data.

homepage		http://sourceforge.net/projects/exif-py/
master_sites	sourceforge:exif-py
distname		EXIFpy_${version}
checksums		md5 7df9f94e98b6ff5da872105a11069356 \
			sha1 859411ec882fc297a4aa4f1368aa5c2a14688573 \
			rmd160 26bbc5fbdd01b7c8cf472895f66a9f633b0510fd

python.versions	24 25 26

if {$subport != $name} {
    extract.mkdir   yes
    post-extract	{
        file copy ${filespath}/setup.py ${worksrcpath}
        reinplace "s|VERSION|${version}|g" ${worksrcpath}/setup.py
    }
}
