Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a port of NetBSD's wtf utility, which translates common Internet …
…acronyms. git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@974 d073be05-634f-4543-b044-5fe20cf6d1d6
- Loading branch information
Garret Rooney
committed
Oct 6, 2002
1 parent
a5bbe9d
commit d1c2357
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
PortSystem 1.0 | ||
name wtf | ||
version 20021005 | ||
categories games | ||
maintainers rooneg@electricjellyfish.net | ||
description translates common Internet acronyms | ||
platforms darwin freebsd | ||
|
||
master_sites http://www.mu.org/~mux/wtf/ | ||
checksums md5 cb00a8c9d0d7e5298ec722669aa1e2aa | ||
|
||
configure {} | ||
|
||
build { | ||
cd ${workpath}/${worksrcdir} | ||
reinplace "s|/usr/local/share/misc|${prefix}/share/misc|g" wtf | ||
reinplace "s|/usr/share/misc|${prefix}/share/misc|g" wtf.6 | ||
} | ||
|
||
install { | ||
cd ${workpath}/${worksrcdir} | ||
|
||
system "install wtf ${prefix}/bin" | ||
|
||
system "install -d ${prefix}/man/man6" | ||
system "install wtf.6 ${prefix}/man/man6" | ||
|
||
system "install -d ${prefix}/share/misc" | ||
system "install acronyms ${prefix}/share/misc" | ||
} | ||
|
||
contents { | ||
bin/wtf | ||
man/man6/wtf.6 | ||
share/misc/acronyms | ||
} |