# -*- Mode: Tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:et:sw=4:ts=4:sts=4
# $Id: Portfile 58620 2009-10-02 02:42:30Z snc@macports.org $

PortSystem 1.0
PortGroup python26 1.0

name	    	py26-xdg
version	    	0.16
categories  	python textproc
platforms       darwin
maintainers     nomaintainer
description     Python module implementing various freedesktop.org standards
long_description    \
    PyXDG is a python library to access freedesktop.org standards. Currently \
    supported standards are: \
    \
    *   Base Directory Specification Version 0.6 \
    *   Menu Specification Version 1.0-draft1 \
    *   Desktop Entry Specification Version 0.9.4 \
    *   Icon Theme Specification Version 0.8 \
    *   Recent File Spec 0.2 \
    *   Shared-MIME-Database Specification 0.13

homepage        http://www.freedesktop.org/wiki/Software/pyxdg
master_sites    http://www.freedesktop.org/~lanius/
distname        pyxdg-${version}
checksums       md5 55b71ec0df9509e05e562ac402b119f7 \
                sha1 325dbb2cfb12f59877307022f6aa803e7f0819f0

depends_lib-append \
    port:py26-gobject \
    port:py26-numeric

build.env       LDFLAGS=-L${prefix}/lib

post-patch {
    reinplace "s|@PREFIX@|$prefix|" ${worksrcpath}/setup.py
}
