summaryrefslogtreecommitdiff
path: root/net/ircII
diff options
context:
space:
mode:
authortv <tv>1998-03-05 16:55:33 +0000
committertv <tv>1998-03-05 16:55:33 +0000
commit35a2fd15892ebe81757636e7278de8dd160ce49a (patch)
treedcd16ae496a4e32dcf67a71d0c4e548c61a06dfb /net/ircII
parent358a852529642ab8bcf64fe876c3d83dc4a3302c (diff)
downloadpkgsrc-35a2fd15892ebe81757636e7278de8dd160ce49a.tar.gz
Some cleanup:
- change absolute symlink bin/irc to a relative (in-directory) symlink - change PLIST to include the bin/irc link instead of creating it, so pkg_info -Lq matches what's on disk - change ircII's Makefile.in to use our BSD_INSTALL_* macros, and now strip binaries when installed (if BSD_INSTALL_PROGRAM does) - show a confirmation message about compressing help files, and use xargs instead of individual gzip processes for speed - remove ircII.motd as well as ircII.servers at pkg_delete time
Diffstat (limited to 'net/ircII')
-rw-r--r--net/ircII/Makefile5
-rw-r--r--net/ircII/patches/patch-ac27
-rw-r--r--net/ircII/pkg/PLIST7
3 files changed, 33 insertions, 6 deletions
diff --git a/net/ircII/Makefile b/net/ircII/Makefile
index 2b490ecaf31..92617887e74 100644
--- a/net/ircII/Makefile
+++ b/net/ircII/Makefile
@@ -3,7 +3,7 @@
# Date created: 18 Oct 1994
# Whom: torstenb
#
-# $NetBSD: Makefile,v 1.9 1998/02/23 15:18:05 agc Exp $
+# $NetBSD: Makefile,v 1.10 1998/03/05 16:55:33 tv Exp $
# FreeBSD Id: Makefile,v 1.14 1997/05/14 10:35:13 torstenb Exp
#
@@ -30,7 +30,8 @@ pre-install:
post-install:
@if [ "X${MANZ}" != X"" ]; then \
- find ${PREFIX}/lib/irc/help -type f -exec gzip -9 {} \;; \
+ echo Compressing help files; \
+ find ${PREFIX}/lib/irc/help -type f -print | xargs gzip -9; \
fi
.include <bsd.port.mk>
diff --git a/net/ircII/patches/patch-ac b/net/ircII/patches/patch-ac
new file mode 100644
index 00000000000..367d932bcb7
--- /dev/null
+++ b/net/ircII/patches/patch-ac
@@ -0,0 +1,27 @@
+--- Makefile.in.orig Tue Mar 25 22:47:43 1997
++++ Makefile.in Thu Mar 5 11:37:54 1998
+@@ -132,8 +132,8 @@
+ LN = @LN@
+ CP = cp
+ MV = mv
+-INSTALL = ./bsdinstall -c -m 755
+-INSTALL_DATA = ../bsdinstall -c -m 644
++INSTALL = $(BSD_INSTALL_PROGRAM)
++INSTALL_DATA = $(BSD_INSTALL_DATA)
+
+ VERSION = @VERSION@
+
+@@ -186,11 +186,9 @@
+
+ installirc: irc installdirs
+ $(INSTALL) source/irc $(INSTALL_IRC)-$(VERSION)
+- $(INSTALL) ircbug $(bindir)/ircbug
+- @if test -f $(INSTALL_IRC).old; then $(RM) $(INSTALL_IRC).old; fi
+- @if test -f $(INSTALL_IRC); then $(MV) $(INSTALL_IRC) $(INSTALL_IRC).old; fi
++ $(BSD_INSTALL_SCRIPT) ircbug $(bindir)/ircbug
+ $(RM) $(INSTALL_IRC)
+- $(LN) $(INSTALL_IRC)-$(VERSION) $(INSTALL_IRC)
++ cd ${bindir}; $(LN) irc-$(VERSION) irc
+
+ installscript: installdirs
+ -chmod -x script/*
diff --git a/net/ircII/pkg/PLIST b/net/ircII/pkg/PLIST
index 40008449c19..5675b4519a9 100644
--- a/net/ircII/pkg/PLIST
+++ b/net/ircII/pkg/PLIST
@@ -1,7 +1,6 @@
-@comment $NetBSD: PLIST,v 1.7 1998/02/15 10:36:03 frueauf Exp $
+@comment $NetBSD: PLIST,v 1.8 1998/03/05 16:55:33 tv Exp $
+bin/irc
bin/irc-4.4
-@exec ln -f %B/%f %B/irc
-@unexec rm -f %B/irc
bin/ircbug
bin/ircio
bin/ircflush
@@ -576,7 +575,7 @@ lib/irc/help/menus@.GZ@
lib/irc/help/abort@.GZ@
man/man1/ircII.1
man/man1/ircbug.1
-@unexec rm -f %D/lib/irc/ircII.servers
+@unexec rm -f %D/lib/irc/ircII.servers %D/lib/irc/ircII.motd
@dirrm lib/irc/help/alias
@dirrm lib/irc/help/bind
@dirrm lib/irc/help/ctcp