Update of /cvsroot/fink/dists/10.3/stable/main/finkinfo/games
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19870/10.3/stable/main/finkinfo/games
Added Files:
wtf.info
Log Message:
Fix diff option in wtfup
--- NEW FILE: wtf.info ---
Package: wtf
Version: 1.7
Revision: 3
Description: Translates common Internet acronyms
Replaces: wtf-acronyms
Source: http://www.mu.org/~mux/%n/%n-20021005.tar.gz
Source-MD5: cb00a8c9d0d7e5298ec722669aa1e2aa
SourceDirectory: %n-20021005
PatchScript: <<
cat %n | sed 's|/usr/local/share/misc/|%p/share/%n/|g' > %n-patched
cat %n.6 | sed 's|/usr/share/misc/|%p/share/%n/|g' > %n.6-patched
echo 'FINK Fink is not an acronym. See
http://fink.sourceforge.net/faq/general.php#naming' >> acronyms
cat acronyms | sort | uniq > acronyms-patched
<<
CompileScript: <<
echo "Creating wtfup script..."
echo '#!/bin/sh' > %nup
echo '# %f 2003-02-13' >> %nup
echo "echo 'Downloading latest %n acronyms'" >> %nup
echo 'curl
http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/share/misc/acronyms -o
/tmp/acronyms.%nup' >> %nup
echo "echo 'Backing up installed acronyms to /tmp/acronyms.bak'" >> %nup
echo 'cp %p/share/%n/acronyms /tmp/acronyms.bak' >> %nup
echo "echo 'merging with installed acronyms'" >> %nup
echo 'cat /tmp/acronyms.%nup > /tmp/acronyms.tmp' >> %nup
echo 'cat /tmp/acronyms.bak >> /tmp/acronyms.tmp' >> %nup
echo "echo 'FINK Fink is not an acronym. See
http://fink.sourceforge.net/faq/general.php#naming' >> /tmp/acronyms.tmp" >>
%nup
echo 'cat /tmp/acronyms.tmp | sort | uniq > /tmp/acronyms' >> %nup
echo "echo 'Installing updated acronyms'" >> %nup
echo 'sudo install -m 0644 /tmp/acronyms %p/share/%n/acronyms' >> %nup
echo 'rm /tmp/acronyms.tmp /tmp/acronyms.%nup /tmp/acronyms' >> %nup
echo "echo 'The following new acronyms were found:'" >> %nup
echo 'diff -U 0 /tmp/acronyms.bak %p/share/%n/acronyms' >> %nup
echo 'echo "Done."' >> %nup
<<
InstallScript: <<
mkdir -p %i/bin/
mkdir -p %i/share/man/man6/
mkdir -p %i/share/%n/
install -m 0755 %n-patched %i/bin/%n
install -m 0755 %nup %i/bin/%nup
install -m 0644 %n.6-patched %i/share/man/man6/%n.6
install -m 0644 acronyms-patched %i/share/%n/acronyms
<<
PostInstScript: echo "Run 'sudo wtfup' to update to the latest acronym list."
DescDetail: <<
Wtf is little shell script taken from NetBSD which translates
acronyms. These acronyms are kept in a file located at
%p/share/wtf/acronyms.
<<
DescUsage: <<
Manual:
man wtf
Lookups:
wtf tla
wtf AFAIK
wtf is fink
Update:
wtfup
<<
Homepage: "http://www.freebsd.org/cgi/pds.cgi?ports/games/wtf"
License: Public Domain
Maintainer: Carsten Klapp <[EMAIL PROTECTED]>
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits