diff options
author | Patrick Li <pat@FreeBSD.org> | 2002-01-06 04:52:03 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2002-01-06 04:52:03 +0000 |
commit | bbf5242155b7b974d107eb6dbd2f88299d471d61 (patch) | |
tree | 3e5b9520ba19b0b38429022138fdfec304593a85 /misc/kenny | |
parent | 681c8fa929078656b82e8039aa24d66215ee4a6f (diff) | |
download | ports-bbf5242155b7b974d107eb6dbd2f88299d471d61.tar.gz ports-bbf5242155b7b974d107eb6dbd2f88299d471d61.zip |
Notes
Diffstat (limited to 'misc/kenny')
-rw-r--r-- | misc/kenny/Makefile | 5 | ||||
-rw-r--r-- | misc/kenny/files/patch-kenny | 42 |
2 files changed, 44 insertions, 3 deletions
diff --git a/misc/kenny/Makefile b/misc/kenny/Makefile index 4b5d87ac59c4..319948f9d6d2 100644 --- a/misc/kenny/Makefile +++ b/misc/kenny/Makefile @@ -9,6 +9,7 @@ PORTNAME= kenny PORTVERSION= 1.6 +PORTREVISION= 1 CATEGORIES= misc perl5 MASTER_SITES= http://www.h.shuttle.de/mitch/stuff/ DISTNAME= kenny.pl-${PORTVERSION} @@ -19,6 +20,7 @@ MAINTAINER= ports@geeksrus.net USE_PERL5= yes NO_BUILD= yes +NO_WRKSUBDIR= yes MAN1= kenny.1 @@ -46,6 +48,3 @@ do-install: @${INSTALL_MAN} ${WRKDIR}/${manpage} ${MANPREFIX}/man/man1/${manpage} .include <bsd.port.mk> - -# -#EOF diff --git a/misc/kenny/files/patch-kenny b/misc/kenny/files/patch-kenny new file mode 100644 index 000000000000..9e901f819cb7 --- /dev/null +++ b/misc/kenny/files/patch-kenny @@ -0,0 +1,42 @@ +--- kenny.orig Sat Jan 5 23:45:34 2002 ++++ kenny Sat Jan 5 23:45:34 2002 +@@ -149,6 +149,7 @@ + sub translate($); + sub addGermanUmlauts($); + sub printHelp(); ++sub theyKilledKenny(); + + + +@@ -169,6 +170,15 @@ + + + ++##### Install signal handlers ++ ++$SIG{HUP} = \&theyKilledKenny; ++$SIG{INT} = \&theyKilledKenny; ++$SIG{QUIT} = \&theyKilledKenny; ++$SIG{TERM} = \&theyKilledKenny; ++ ++ ++ + ##### Parse commandline arguments + + # "-h" switch (print help): +@@ -224,6 +234,15 @@ + ##### That's all, folks! + + exit 0; ++ ++ ++##### Signal handler, if we're kill(1)ed ++ ++sub theyKilledKenny() ++{ ++ print "Oh my God! They killed Kenny! You bastards!\n"; ++ exit 0; ++} + + + |