# $Id: Portfile 78768 2011-05-21 16:28:13Z jwa@macports.org $

PortSystem		1.0
PortGroup		python24 1.0

name			py-macholib
version			1.4.1
categories-append	devel
maintainers		jwa openmaintainer
description		Mach-O header analysis and editing
long_description \
    macholib can be used to analyze and edit Mach-O headers, the executable \
    format used by Mac OS X. \
    It is typically used as a dependency analysis tool, and also to rewrite \
    dylib references in Mach-O headers to be @executable_path relative. \
    Though this tool targets a platform specific file format, it is pure \
    python code that is platform and endian independent.

platforms		darwin
supported_archs		noarch

homepage		http://undefined.org/python/#macholib
master_sites		http://cheeseshop.python.org/packages/source/m/macholib/
distname		macholib-${version}

depends_lib-append	port:py-modulegraph

checksums           md5     0081b6adcdea7c4c8260f75d103d3288 \
                    sha1    18024efabd97a24f1b2bec0c2fece7e8a0170a03 \
                    rmd160  4a44823e58d2084d919cf70f4e0d2fda560aebd4

livecheck.type	regex
livecheck.url	http://cheeseshop.python.org/pypi/macholib/
livecheck.regex	macholib (1\.\[0-9.\]+)
