PortSystem 1.0
PortGroup xcode 1.0

name			xattr
version			0.1
revision		2
categories		sysutils
maintainers		nomaintainer
description		Display and edit extended attributes on Darwin 8
long_description	A simple utility to set, get, copy, delete and list\
 the new extended attributes enabled by Mac OS X 10.4 "Tiger" (Darwin 8)


homepage		http://arstechnica.com/reviews/os/macosx-10.4.ars/7
master_sites
distname		eXttra
checksums		md5 f818675635414436cb170ce4524864ae
use_zip		yes

patchfiles		patch-XARemoveOperation.c.diff \
			patch-XASetOperation.c.diff \
			patch-xattr.c.diff

post-patch {
	if {[vercmp $xcodeversion 4.0] >= 0} {
	    copy -force ${filespath}/project.pbxproj ${worksrcpath}/eXttra.xcode/
	}
}

supported_archs	i386 ppc

xcode.destroot.path	${prefix}/bin

# C only, avoid macports-clang dep
configure.cxx_stdlib
