the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: contacts
Version: 1.1
Revision: 1
Description: Little command line OS X address book viewer
License: GPL
Maintainer: Christian Schaffner
# Unpack Phase:
Source: http://gnufoo.org/contacts/%n%v.tgz
Source-MD5: 37b6a6a0312dabc4ad2ddd8805f93e12
# Compile Phase:
CompileScript: <<
xcodebuild DSTROOT=%d INSTALL_PATH=%p -target %n -buildstyle Deployment
<<
# Install Phase:
DocFiles: README COPYING
InstallScript: <<
/usr/bin/install -d %i/bin
echo "Ignore errors about build/%n from 'install'"
/usr/bin/install -m 755 build/contacts %i/bin || /usr/bin/install -m 755 build/Deployment/contacts %i/bin
/usr/bin/install -d %i/share
/usr/bin/install -d %i/share/man
/usr/bin/install -d %i/share/man/man1
/usr/bin/install -m 644 contacts.1 %i/share/man/man1
/usr/bin/install -d %i/share/doc/%n
/usr/bin/install -m 644 GPL\ License.rtf %i/share/doc/%n
<<
# Additional Info
DescDetail: <<
The utility contacts gives you access to view and search all your records in
the Mac OS X AddressBook database.
<<
DescUsage: <<
Type 'man contacts' to get usage information.
<<
DescPackaging: <<
'GPL License.rtf' can't be put into DocFiles because ot the space
<<
Homepage: http://gnufoo.org/contacts/contacts.html