[58329] trunk/dports/irc
blb at macports.org
blb at macports.org
Sat Sep 26 13:44:25 PDT 2009
Revision: 58329
http://trac.macports.org/changeset/58329
Author: blb at macports.org
Date: 2009-09-26 13:44:24 -0700 (Sat, 26 Sep 2009)
Log Message:
-----------
irc/irssi and irssi-devel - fix paths in man page (ticket #21619); note they conflict with one another
Modified Paths:
--------------
trunk/dports/irc/irssi/Portfile
trunk/dports/irc/irssi-devel/Portfile
Added Paths:
-----------
trunk/dports/irc/irssi/files/
trunk/dports/irc/irssi/files/patch-docs_irssi.1.diff
trunk/dports/irc/irssi-devel/files/
trunk/dports/irc/irssi-devel/files/patch-docs_irssi.1.diff
Modified: trunk/dports/irc/irssi/Portfile
===================================================================
--- trunk/dports/irc/irssi/Portfile 2009-09-26 20:28:29 UTC (rev 58328)
+++ trunk/dports/irc/irssi/Portfile 2009-09-26 20:44:24 UTC (rev 58329)
@@ -21,9 +21,16 @@
sha1 7718afec2de99a85b7eee0b945f8424d7b1bc947 \
rmd160 9c1cd4738432e7b3461ab371b9dcaafa0cd00827
use_bzip2 yes
+conflicts irssi-devel
+
depends_lib port:gettext path:lib/pkgconfig/glib-2.0.pc:glib2 port:libiconv port:ncurses \
port:openssl port:zlib
+patchfiles patch-docs_irssi.1.diff
+post-patch {
+ reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/docs/irssi.1
+}
+
configure.cppflags-append "-no-cpp-precomp"
configure.args --without-socks \
--without-bot \
Added: trunk/dports/irc/irssi/files/patch-docs_irssi.1.diff
===================================================================
--- trunk/dports/irc/irssi/files/patch-docs_irssi.1.diff (rev 0)
+++ trunk/dports/irc/irssi/files/patch-docs_irssi.1.diff 2009-09-26 20:44:24 UTC (rev 58329)
@@ -0,0 +1,28 @@
+--- docs/irssi.1.orig 2009-07-21 12:48:26.000000000 -0600
++++ docs/irssi.1 2009-09-26 14:38:37.000000000 -0600
+@@ -65,7 +65,7 @@
+ .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 @@PREFIX@@/share/doc/irssi/*
+ .SH FILES
+ .TP
+ .I /etc/irssi.conf
+@@ -83,13 +83,13 @@
+ .I ~/.irssi/away.log
+ Logged messages in away status
+ .TP
+-.I /usr/share/irssi/help/
++.I @@PREFIX@@/share/irssi/help/
+ Directory including many help files
+ .TP
+-.I /usr/share/irssi/scripts/
++.I @@PREFIX@@/share/irssi/scripts/
+ Global scripts directory
+ .TP
+-.I /usr/share/irssi/themes/
++.I @@PREFIX@@/share/irssi/themes/
+ Global themes directory
+ .TP
+ .I ~/.irssi/scripts/
Modified: trunk/dports/irc/irssi-devel/Portfile
===================================================================
--- trunk/dports/irc/irssi-devel/Portfile 2009-09-26 20:28:29 UTC (rev 58328)
+++ trunk/dports/irc/irssi-devel/Portfile 2009-09-26 20:44:24 UTC (rev 58329)
@@ -16,6 +16,7 @@
platforms darwin
homepage http://irssi.org/
+conflicts irssi
fetch.type svn
svn.url http://svn.irssi.org/repos/irssi/trunk
svn.revision ${version}
@@ -29,6 +30,11 @@
port:libiconv port:ncurses port:openssl port:zlib \
path:bin/perl:perl5
+patchfiles patch-docs_irssi.1.diff
+post-patch {
+ reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/docs/irssi.1
+}
+
configure.cppflags-append -I${prefix}/include/ncurses
configure.cmd ./autogen.sh
configure.args --with-proxy --with-modules --with-ncurses \
Added: trunk/dports/irc/irssi-devel/files/patch-docs_irssi.1.diff
===================================================================
--- trunk/dports/irc/irssi-devel/files/patch-docs_irssi.1.diff (rev 0)
+++ trunk/dports/irc/irssi-devel/files/patch-docs_irssi.1.diff 2009-09-26 20:44:24 UTC (rev 58329)
@@ -0,0 +1,28 @@
+--- docs/irssi.1.orig 2009-09-05 17:26:42.000000000 -0600
++++ docs/irssi.1 2009-09-26 14:38:36.000000000 -0600
+@@ -65,7 +65,7 @@
+ .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 @@PREFIX@@/share/doc/irssi/*
+ .SH FILES
+ .TP
+ .I /etc/irssi.conf
+@@ -83,13 +83,13 @@
+ .I ~/.irssi/away.log
+ Logged messages in away status
+ .TP
+-.I /usr/share/irssi/help/
++.I @@PREFIX@@/share/irssi/help/
+ Directory including many help files
+ .TP
+-.I /usr/share/irssi/scripts/
++.I @@PREFIX@@/share/irssi/scripts/
+ Global scripts directory
+ .TP
+-.I /usr/share/irssi/themes/
++.I @@PREFIX@@/share/irssi/themes/
+ Global themes directory
+ .TP
+ .I ~/.irssi/scripts/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090926/faefa008/attachment.html>
More information about the macports-changes
mailing list