Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

4
misc/loco/DESCR Normal file
View File

@@ -0,0 +1,4 @@
Loco is a Perl script which gives the messages file (usually /var/log/messages)
some color, so the output is easier to read. It uses a Perl module called
Term::ANSIColor to produce the colors. The Perl script is very readable
and customizable.

18
misc/loco/Makefile Normal file
View File

@@ -0,0 +1,18 @@
# $NetBSD: Makefile,v 1.13 2013/05/31 12:41:27 wiz Exp $
#
DISTNAME= loco-0.32
PKGREVISION= 2
CATEGORIES= misc
MASTER_SITES= http://zjuul.net/~jules/loco/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://zjuul.net/~jules/loco/
COMMENT= Colorize file or standard input and print on the standard output
USE_TOOLS+= perl:run pod2man pod2html
REPLACE_PERL= loco
BUILD_TARGET= # defined
.include "../../mk/bsd.pkg.mk"

6
misc/loco/PLIST Normal file
View File

@@ -0,0 +1,6 @@
@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:07:26 joerg Exp $
bin/loco
man/man1/loco.1
share/doc/loco/COPYRIGHT
share/doc/loco/README
share/doc/loco/loco.html

6
misc/loco/distinfo Normal file
View File

@@ -0,0 +1,6 @@
$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) = 9c4daea864eb74597f887c685092bdf30dc91365

View File

@@ -0,0 +1,48 @@
$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
@@ -1,13 +1,12 @@
PACKAGE=loco
VERSION=0.32
-PREFIX=/usr/local
-MANDIR=$(PREFIX)/man/man1
-DOCDIR=$(PREFIX)/doc/$(PACKAGE)-$(VERSION)
+MANDIR=$(PREFIX)/$(PKGMANDIR)/man1
+DOCDIR=$(PREFIX)/share/doc/$(PACKAGE)
check:
perl -e 'eval "use Term::ANSIColor; 1" || die "Module not found!\n";'
pod2html $(PACKAGE) > $(PACKAGE).html
- pod2man $(PACKAGE) | gzip - > $(PACKAGE).1.gz
+ pod2man $(PACKAGE) > $(PACKAGE).1
#
# Checks finished. Everything looks fine
#
@@ -15,18 +14,18 @@ check:
install: installdoc installman installprogram
installdoc:
- install -m 755 -d $(DOCDIR)
- install -m 644 $(PACKAGE).html $(DOCDIR)
- install -m 644 README $(DOCDIR)
- install -m 644 COPYRIGHT $(DOCDIR)
+ $(BSD_INSTALL_DATA_DIR) ${DESTDIR}$(DOCDIR)
+ $(BSD_INSTALL_DATA) $(PACKAGE).html ${DESTDIR}$(DOCDIR)
+ $(BSD_INSTALL_DATA) README ${DESTDIR}$(DOCDIR)
+ $(BSD_INSTALL_DATA) COPYRIGHT ${DESTDIR}$(DOCDIR)
installman:
- install -m 755 -d $(MANDIR)
- install -m 644 $(PACKAGE).1.gz $(MANDIR)
+ $(BSD_INSTALL_MAN_DIR) ${DESTDIR}$(MANDIR)
+ $(BSD_INSTALL_MAN) $(PACKAGE).1 ${DESTDIR}$(MANDIR)
installprogram:
- install -m 755 -d $(PREFIX)/bin
- install -m 755 $(PACKAGE) $(PREFIX)/bin
+ $(BSD_INSTALL_SCRIPT_DIR) ${DESTDIR}$(PREFIX)/bin
+ $(BSD_INSTALL_SCRIPT) $(PACKAGE) ${DESTDIR}$(PREFIX)/bin
clean:
rm -f *~ $(PACKAGE).1.gz $(PACKAGE).html pod2html-*