# $Id: Portfile 50980 2009-05-14 19:41:55Z and.damore@macports.org $

PortSystem  1.0
PortGroup   xcode 1.0

name		class-dump
version		3.1.2
revision	2
categories	devel
maintainers	waqar
description	Utility for examining the Objective-C segment of Mach-O files.
long_description	\
	It generates declarations for the classes, categories and 	\
	protocols. This is the same information provided by using 	\
	'otool -ov', but presented as normal Objective-C declarations.

homepage	http://www.codethecode.com/projects/class-dump/
master_sites	http://www.codethecode.com/download/

checksums       md5 e8a90df57e4275b694c2c2222450cacf                    \
                sha1 b027bbdc27daa2de42d878aa9129e83d87baf317           \
                rmd160 f687b91069efaf72550891e383509d3e0bfaf26b

worksrcdir	${distname}/src

xcode.target    ${name}

xcode.configuration Release
xcode.destroot.path ${prefix}/bin

variant universal {
    set xcode.build.settings    ARCHS="${configure.universal_archs}"
    set xcode.destroot.settings ARCHS="${configure.universal_archs}"
}

livecheck.check regex
livecheck.url   ${homepage}release-notes.html
livecheck.regex {Version (\d+(?:\.\d+)*) -}
