# $Id: Portfile 114324 2013-12-05 08:44:51Z ryandesign@macports.org $

PortSystem 1.0
PortGroup python 1.0

name			py-clientcookie
version			1.3.0
categories-append	www
license			{BSD ZPL-2.1}
platforms		darwin
supported_archs	noarch
maintainers		nomaintainer
description		python module for handling HTTP cookies
long_description	ClientCookie is a Python module for handling HTTP \
				cookies on the client side, useful for accessing web \
				sites that require cookies to be set and then returned \
				later.

homepage		http://wwwsearch.sourceforge.net/ClientCookie/
master_sites	${homepage}/src/
distname		ClientCookie-${version}

checksums		md5     7a43e4624299b3951ae1a442194d2185 \
			sha1    fc54adb762618d3a9fdeca9ed45b982c2bde940c \
			rmd160  0c557c11efee3ada975235ed72252176c059e5d2

python.versions	25

if {${name} ne ${subport}} {
    depends_build	port:py${python.version}-setuptools

    test.run		yes
    test.cmd		${python.bin}
    test.target		test.py

    post-destroot	{
        xinstall -m 644 -W ${worksrcpath} COPYING.txt ChangeLog.txt GeneralFAQ.html \
            INSTALL.txt README.html README.txt doc.html \
            ${destroot}${prefix}/share/doc/${subport}
    }
}
