the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: finkinfofile
Version: 1.6
Revision: 1
Distribution: 10.5, 10.6
Description: Spotlight importer for Fink .info files
DescDetail: <<
Run the command "finkinfofile install" to install the importer
into /Library/Spotlight and begin indexing your .info files.
"finkinfofile remove" will uninstall the importer.
finkinfofile will use sudo internally as needed; if you use sudo
explicitly on Leopard, indexing will fail because mdimport must be
run as a user, not root.
The following metadata are currently indexed (in addition to
the plain text content, but searching metadata is faster than content):
Title = Package
Authors = Maintainer
Email addresses = Maintainer
Description = Description
Instructions = DescDetail
Version = Epoch:Version-Revision
1.4: Now recognizes new InfoTest field.
1.5: Leopard compatible; alows QuickLook to work on info files.
1.6: Snow Leopard compatible.
<<
License: GPL
Maintainer: Daniel Johnson
Homepage: http://homepage.mac.com/danielj7/index.html
Source: http://homepage.mac.com/danielj7/%n-%v.tar.bz2
Source-MD5: 0b9c266f84e58400c2c4b7e8b8a3488f
CompileScript: <<
#!/bin/bash -ev
xcodeversion=`defaults read /Developer/Applications/Xcode.app/Contents/Info CFBundleShortVersionString`
if [ $xcodeversion = '2.0' ]; then
echo 'This package requires Xcode 2.1 or later.'
exit 1
fi
xcodebuild -target FinkInfoFile-%m -configuration Deployment
<<
InstallScript: <<
#!/bin/bash -ev
/bin/mkdir -p %i/lib/%n
/bin/cp -R build/Deployment/FinkInfoFile.mdimporter %i/lib/%n/FinkInfoFile.mdimporter
/bin/mkdir -p %i/bin
sed -e 's,@PREFIX@,%p,g' finkinfofile.in >%i/bin/finkinfofile
/bin/chmod +x %i/bin/finkinfofile
<<
DocFiles: README.txt LICENSE
PreRmScript: <<
if [ $1 != "upgrade" ]; then
finkinfofile remove
fi
<<
Package: finkinfofile
Version: 1.6
Revision: 1
Distribution: 10.5, 10.6
Description: Spotlight importer for Fink .info files
DescDetail: <<
Run the command "finkinfofile install" to install the importer
into /Library/Spotlight and begin indexing your .info files.
"finkinfofile remove" will uninstall the importer.
finkinfofile will use sudo internally as needed; if you use sudo
explicitly on Leopard, indexing will fail because mdimport must be
run as a user, not root.
The following metadata are currently indexed (in addition to
the plain text content, but searching metadata is faster than content):
Title = Package
Authors = Maintainer
Email addresses = Maintainer
Description = Description
Instructions = DescDetail
Version = Epoch:Version-Revision
1.4: Now recognizes new InfoTest field.
1.5: Leopard compatible; alows QuickLook to work on info files.
1.6: Snow Leopard compatible.
<<
License: GPL
Maintainer: Daniel Johnson
Homepage: http://homepage.mac.com/danielj7/index.html
Source: http://homepage.mac.com/danielj7/%n-%v.tar.bz2
Source-MD5: 0b9c266f84e58400c2c4b7e8b8a3488f
CompileScript: <<
#!/bin/bash -ev
xcodeversion=`defaults read /Developer/Applications/Xcode.app/Contents/Info CFBundleShortVersionString`
if [ $xcodeversion = '2.0' ]; then
echo 'This package requires Xcode 2.1 or later.'
exit 1
fi
xcodebuild -target FinkInfoFile-%m -configuration Deployment
<<
InstallScript: <<
#!/bin/bash -ev
/bin/mkdir -p %i/lib/%n
/bin/cp -R build/Deployment/FinkInfoFile.mdimporter %i/lib/%n/FinkInfoFile.mdimporter
/bin/mkdir -p %i/bin
sed -e 's,@PREFIX@,%p,g' finkinfofile.in >%i/bin/finkinfofile
/bin/chmod +x %i/bin/finkinfofile
<<
DocFiles: README.txt LICENSE
PreRmScript: <<
if [ $1 != "upgrade" ]; then
finkinfofile remove
fi
<<