summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
Diffstat (limited to 'chat')
-rw-r--r--chat/irssi/Makefile14
-rw-r--r--chat/irssi/Makefile.common12
-rw-r--r--chat/irssi/PLIST11
-rw-r--r--chat/irssi/distinfo8
-rw-r--r--chat/irssi/patches/patch-ab8
5 files changed, 38 insertions, 15 deletions
diff --git a/chat/irssi/Makefile b/chat/irssi/Makefile
index 66aaf6bfc8a..44985cf143d 100644
--- a/chat/irssi/Makefile
+++ b/chat/irssi/Makefile
@@ -1,16 +1,16 @@
-# $NetBSD: Makefile,v 1.15 2002/11/21 13:00:02 grant Exp $
+# $NetBSD: Makefile,v 1.16 2002/12/02 12:19:18 jmmv Exp $
-DISTNAME= irssi-0.8.5
-PKGREVISION= 1
-WRKSRC= ${WRKDIR}/irssi-0.8.5
+DISTNAME= ${IRSSI_DISTNAME}
CATEGORIES= chat
MASTER_SITES= http://real.irssi.org/files/
-EXTRACT_SUFX= .tar.bz2
+EXTRACT_SUFX= ${IRSSI_EXTRACT_SUFX}
MAINTAINER= mutru@iki.fi
HOMEPAGE= http://www.irssi.org/
COMMENT= Secure and modular IRC client with text mode user interface
+.include "${.CURDIR}/Makefile.common"
+
# list it into IPv6-ready packages
BUILD_DEFS+= USE_INET6
@@ -41,6 +41,10 @@ CONFIGURE_ARGS+= --with-perl-lib=site
CONFIGURE_ARGS+= --with-perl=no
.endif
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/config.h ${IRSSI_CONFIG_H}
+ ${INSTALL_DATA} ${WRKSRC}/irssi-config ${IRSSI_CONFIG}
+
.include "../../devel/glib/buildlink2.mk"
.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/chat/irssi/Makefile.common b/chat/irssi/Makefile.common
new file mode 100644
index 00000000000..9e1184063d9
--- /dev/null
+++ b/chat/irssi/Makefile.common
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile.common,v 1.1 2002/12/02 12:19:18 jmmv Exp $
+
+# Specific distribution information.
+IRSSI_VERSION= 0.8.6
+IRSSI_DISTNAME= irssi-${IRSSI_VERSION}
+IRSSI_EXTRACT_SUFX= .tar.bz2
+IRSSI_DISTFILE= ${IRSSI_DISTNAME}${IRSSI_EXTRACT_SUFX}
+
+# These files are generated during Irssi's build, but are required by
+# plugins to compile properly.
+IRSSI_CONFIG= ${PREFIX}/share/irssi/irssi-config
+IRSSI_CONFIG_H= ${PREFIX}/share/irssi/config.h
diff --git a/chat/irssi/PLIST b/chat/irssi/PLIST
index e71a5a3f01e..95b3ee90d13 100644
--- a/chat/irssi/PLIST
+++ b/chat/irssi/PLIST
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.4 2002/11/21 13:00:02 grant Exp $
+@comment $NetBSD: PLIST,v 1.5 2002/12/02 12:19:19 jmmv Exp $
bin/irssi
+man/man1/irssi.1
share/doc/irssi/botnet.txt
share/doc/irssi/design.txt
share/doc/irssi/faq.html
@@ -10,7 +11,6 @@ share/doc/irssi/perl.txt
share/doc/irssi/signals.txt
share/doc/irssi/special_vars.txt
share/doc/irssi/startup-HOWTO.html
-share/doc/irssi/startup-HOWTO.txt
share/examples/irssi/irssi.conf
share/irssi/help/action
share/irssi/help/admin
@@ -23,6 +23,7 @@ share/irssi/help/cat
share/irssi/help/cd
share/irssi/help/channel
share/irssi/help/clear
+share/irssi/help/completion
share/irssi/help/connect
share/irssi/help/ctcp
share/irssi/help/cycle
@@ -90,6 +91,7 @@ share/irssi/help/rping
share/irssi/help/save
share/irssi/help/say
share/irssi/help/sconnect
+share/irssi/help/script
share/irssi/help/scrollback
share/irssi/help/server
share/irssi/help/servlist
@@ -128,6 +130,8 @@ share/irssi/help/whowas
share/irssi/help/window
share/irssi/help/wjoin
share/irssi/help/wquery
+share/irssi/config.h
+share/irssi/irssi-config
share/irssi/scripts/autoop.pl
share/irssi/scripts/autorejoin.pl
share/irssi/scripts/buf.pl
@@ -139,6 +143,7 @@ share/irssi/scripts/mlock.pl
share/irssi/scripts/msg-event.pl
share/irssi/scripts/quitmsg.pl
share/irssi/scripts/redirect.pl
+share/irssi/scripts/scriptassist.pl
share/irssi/scripts/splitlong.pl
share/irssi/scripts/usercount.pl
share/irssi/themes/colorless.theme
@@ -149,3 +154,5 @@ share/irssi/themes/default.theme
@dirrm share/irssi
@dirrm share/examples/irssi
@dirrm share/doc/irssi
+@unexec ${RMDIR} %D/lib/irssi/modules 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/lib/irssi 2>/dev/null || ${TRUE}
diff --git a/chat/irssi/distinfo b/chat/irssi/distinfo
index b291f5337c1..09b0762e92c 100644
--- a/chat/irssi/distinfo
+++ b/chat/irssi/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.11 2002/11/21 13:00:02 grant Exp $
+$NetBSD: distinfo,v 1.12 2002/12/02 12:19:19 jmmv Exp $
-SHA1 (irssi-0.8.5.tar.bz2) = c36ed600d2bb2d7593f0f6c11672dffe061fa5d6
-Size (irssi-0.8.5.tar.bz2) = 738657 bytes
+SHA1 (irssi-0.8.6.tar.bz2) = 1f7a5b409f71d7b99a30f980d2e7eaa7373a406c
+Size (irssi-0.8.6.tar.bz2) = 746551 bytes
SHA1 (patch-aa) = 45d8161733f58ab3733022c823933bb1cc93a8e2
-SHA1 (patch-ab) = 08ad1c6655ea86b0869927c365dbc736fe90b8c0
+SHA1 (patch-ab) = c395fbeeb2dd15490f04f2cb2c94daf6c5955e85
diff --git a/chat/irssi/patches/patch-ab b/chat/irssi/patches/patch-ab
index 22f20087ada..3e2d63b1490 100644
--- a/chat/irssi/patches/patch-ab
+++ b/chat/irssi/patches/patch-ab
@@ -1,10 +1,10 @@
-$NetBSD: patch-ab,v 1.3 2002/11/21 13:00:02 grant Exp $
+$NetBSD: patch-ab,v 1.4 2002/12/02 12:19:20 jmmv Exp $
---- Makefile.in.orig Wed Jun 19 19:09:53 2002
+--- Makefile.in.orig Tue Nov 19 11:14:30 2002
+++ Makefile.in
-@@ -113,7 +113,7 @@ sedpath = @sedpath@
+@@ -117,7 +117,7 @@ sedpath = @sedpath@
- SUBDIRS = src $(SERVERTEST) docs scripts
+ SUBDIRS = src docs scripts
-confdir = $(sysconfdir)
+confdir = $(datadir)/examples/@PACKAGE@