diff options
| author | Jack Nagel | 2011-11-04 00:17:24 -0500 |
|---|---|---|
| committer | Jack Nagel | 2011-11-04 00:17:24 -0500 |
| commit | d562cf02c7b98a63c38ed94189473427e248f035 (patch) | |
| tree | 951d56bd67a3500519306f88e42749c18861c46c /Library | |
| parent | fa30a230cc35ad39c2f01cc485b1a831fa714aa0 (diff) | |
| download | homebrew-d562cf02c7b98a63c38ed94189473427e248f035.tar.bz2 | |
irssi fixes
- Fix paths in man page
- install configuration file to HOMEBREW_PREFIX/etc
- enable SOCKS library
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/irssi.rb | 42 |
1 files changed, 40 insertions, 2 deletions
diff --git a/Library/Formula/irssi.rb b/Library/Formula/irssi.rb index 0668bf9b9..fc8f96d99 100644 --- a/Library/Formula/irssi.rb +++ b/Library/Formula/irssi.rb @@ -12,7 +12,7 @@ class Irssi < Formula skip_clean 'bin' def patches - # Fix Perl path + # Fix Perl path and path in man page DATA end @@ -20,15 +20,18 @@ class Irssi < Formula ENV.append 'ARCHFLAGS', ' ' # wtf? system "./configure", "--prefix=#{prefix}", + "--sysconfdir=#{etc}", "--with-perl=yes", "--with-perl-lib=#{lib}/perl5/site_perl", "--with-bot", "--with-proxy", "--enable-ssl", - "--enable-ipv6" + "--enable-ipv6", + "--with-socks" system "make install" end end + __END__ --- a/configure 2009-12-03 19:35:07.000000000 -0800 +++ b/configure 2009-12-03 19:35:33.000000000 -0800 @@ -50,3 +53,38 @@ __END__ if test "x$DYNLIB_MODULES" = "xno" -a "$want_perl" != "static"; then want_perl=static + +diff --git a/docs/irssi.1 b/docs/irssi.1 +index 62c2844..482cd96 100644 +--- a/docs/irssi.1 ++++ b/docs/irssi.1 +@@ -65,10 +65,10 @@ display brief usage message. + .SH SEE ALSO + .B Irssi + has been supplied with a huge amount of documentation. Check /help or look +-at the files contained by /usr/share/doc/irssi* ++at the files contained by HOMEBREW_PREFIX/share/doc/irssi* + .SH FILES + .TP +-.I /etc/irssi.conf ++.I HOMEBREW_PREFIX/etc/irssi.conf + Global configuration file + .TP + .I ~/.irssi/config +@@ -83,13 +83,13 @@ Default irssi theme + .I ~/.irssi/away.log + Logged messages in away status + .TP +-.I /usr/share/irssi/help/ ++.I HOMEBREW_PREFIX/share/irssi/help/ + Directory including many help files + .TP +-.I /usr/share/irssi/scripts/ ++.I HOMEBREW_PREFIX/share/irssi/scripts/ + Global scripts directory + .TP +-.I /usr/share/irssi/themes/ ++.I HOMEBREW_PREFIX/share/irssi/themes/ + Global themes directory + .TP + .I ~/.irssi/scripts/ |
