# $Id: Portfile,v 1.4 2005/12/11 00:38:16 mww Exp $

PortSystem 1.0
PortGroup xcode 1.0

name		contacts
version		1.1
revision	1
categories	sysutils
platforms	darwin
maintainers	mww@opendarwin.org
description	command line tool to access MacOS-X's AddressBook
long_description	The utility contacts gives you access to view and \
			search all your records in MacOS-X's AddressBook \
			database.

homepage	http://gnufoo.org/contacts/
master_sites	${homepage}
distname	${name}${version}
extract.suffix	.tgz
checksums	md5 37b6a6a0312dabc4ad2ddd8805f93e12
patchfiles	patch-FormatHelper.m

xcode.target	contacts
xcode.destroot.path	${prefix}/bin

post-patch {
	reinplace "s|/usr/share|${prefix}/share|g" \
		${worksrcpath}/${name}.pbproj/project.pbxproj
}

