# $Id: Portfile 66109 2010-04-06 04:22:44Z jmr@macports.org $

PortSystem		1.0
PortGroup		python24 1.0

name			py-macholib
version			1.2.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
if {[info exists supported_archs]} {
    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     7f7f44e62a057d19b92e813fb2f3d05b \
                    sha1    bbe56f3b03ee5b431f34fb66cf22993587687ef8\
                    rmd160  fa408bc5f1f3f58c0ff3ab43eb56f644bd6b83fa

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