From 02f3afd4aa5d11b073ee929a031bf56a91a871ec Mon Sep 17 00:00:00 2001 From: hans Date: Tue, 29 Nov 2011 17:49:57 +0000 Subject: Fix perl usage. --- misc/loco/Makefile | 4 ++-- misc/loco/distinfo | 4 ++-- misc/loco/patches/patch-aa | 10 ++++------ 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/misc/loco/Makefile b/misc/loco/Makefile index 5f93fd84e7c..9acd969b18e 100644 --- a/misc/loco/Makefile +++ b/misc/loco/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2010/02/26 10:28:33 wiz Exp $ +# $NetBSD: Makefile,v 1.10 2011/11/29 17:49:57 hans Exp $ # DISTNAME= loco-0.32 @@ -11,7 +11,7 @@ COMMENT= Colorize file or standard input and print on the standard output PKG_DESTDIR_SUPPORT= user-destdir -USE_TOOLS+= perl:run +USE_TOOLS+= perl:run pod2man pod2html REPLACE_PERL= loco BUILD_TARGET= # defined diff --git a/misc/loco/distinfo b/misc/loco/distinfo index 2b68ade0155..9a69ec39c2a 100644 --- a/misc/loco/distinfo +++ b/misc/loco/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.5 2009/10/29 22:37:18 tnn Exp $ +$NetBSD: distinfo,v 1.6 2011/11/29 17:49:57 hans Exp $ SHA1 (loco-0.32.tar.gz) = b582820fcc6b7ff264c4df2ceb6fe17c286af1bb RMD160 (loco-0.32.tar.gz) = 2927f382999292874ab7f9d684aa0ec19ac9410d Size (loco-0.32.tar.gz) = 3913 bytes -SHA1 (patch-aa) = 89b1992d96f313220dd8689bd9907d51d3fbaff7 +SHA1 (patch-aa) = 9c4daea864eb74597f887c685092bdf30dc91365 diff --git a/misc/loco/patches/patch-aa b/misc/loco/patches/patch-aa index 6af1cf8ae83..3c1ae7dfcd8 100644 --- a/misc/loco/patches/patch-aa +++ b/misc/loco/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.3 2009/10/29 22:37:18 tnn Exp $ +$NetBSD: patch-aa,v 1.4 2011/11/29 17:49:57 hans Exp $ --- Makefile.orig 2001-01-04 22:22:16.000000000 +0100 +++ Makefile @@ -12,12 +12,10 @@ $NetBSD: patch-aa,v 1.3 2009/10/29 22:37:18 tnn Exp $ +DOCDIR=$(PREFIX)/share/doc/$(PACKAGE) check: -- perl -e 'eval "use Term::ANSIColor; 1" || die "Module not found!\n";' -- pod2html $(PACKAGE) > $(PACKAGE).html + perl -e 'eval "use Term::ANSIColor; 1" || die "Module not found!\n";' + pod2html $(PACKAGE) > $(PACKAGE).html - pod2man $(PACKAGE) | gzip - > $(PACKAGE).1.gz -+ ${LOCALBASE}/bin/perl -e 'eval "use Term::ANSIColor; 1" || die "Module not found!\n";' -+ ${LOCALBASE}/bin/pod2html $(PACKAGE) > $(PACKAGE).html -+ ${LOCALBASE}/bin/pod2man $(PACKAGE) > $(PACKAGE).1 ++ pod2man $(PACKAGE) > $(PACKAGE).1 # # Checks finished. Everything looks fine # -- cgit v1.2.3