Package: osxutils Version: 1.6 Revision: 2 License: GPL Replaces: lsmac HomePage: http://sourceforge.net/projects/osxutils/ Source: mirror:sourceforge:%n/%n-%v.src.tar.bz2 Source-MD5: 07ecfb4141dd0dabd7b79cdc3312f5ee SourceDirectory: %n-%v DocFiles: build/CHANGES.txt build/LICENSE.txt build/README.txt build/TODO.txt Description: Mac-specific command-line file utilities DescDetail: << osxutils is a package of potentially useful Mac-oriented command-line utilities for Mac OS X version 10.0 or later (although the functionality of some tools may be specific to later versions). These tools represent an effort to bring command-line control over certain aspects of the Mac OS, particularly file meta-data such as Finder flags, heritage file Type and Creator codes, icons, comments, labels and suffixes / file extensions. See 'man osxutils' for details. << DescUsage: << uninstall.command is included for those who previously installed osxutils manually or via a pkg, and now wish to install it via Fink instead. It will not remove any osxutils components installed and managed by Fink. << Patch: %n.patch CompileScript: << make prefix=%p << NoSetCC: true InstallScript: << #!/bin/sh -e for proj in fileinfo get{fcomment,icon} lsmac mkalias set{fcomment,fctypes,fflags,icon,label,suffix}; do strip build/$proj done install -d -m 0755 %i/bin %i/share/man/man1 %i/share/doc/%n for proj in cpath fileinfo get{fcomment,icon} lsmac mkalias rcmac set{fcomment,fctypes,fflags,icon,label,suffix} trash wiki; do install -m 0755 build/$proj %i/bin install -m 0644 build/$proj.1 %i/share/man/man1 done install -m 0755 build/google %i/bin/google-osxutils install -m 0644 build/google.1 %i/share/man/man1/google-osxutils.1 install -m 0644 build/osxutils.1 %i/share/man/man1/osxutils.1 install -m 0755 build/uninstall.command %i/share/doc/%n << PostInstScript: << update-alternatives --install %p/bin/google google %p/bin/google-osxutils -10 --slave %p/share/man/man1/google.1 google.1 %p/share/man/man1/google-osxutils.1 << PreRmScript: if [ $1 != "upgrade" ]; then update-alternatives --remove google %p/bin/google-osxutils; fi DescPort: << Previous version maintained by Carsten Klapp. Uses update-alternatives to resolve conflict with surfraw. << Maintainer: Dave Vasilevsky