pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

grc: add new package



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Mon Sep 28 21:52:53 2015 +0200
Changeset:	fc972f2f1b808904cb4f8b1414a69a4e5c4a3cc9

Modified Files:
	Makefile
Added Files:
	grc/DESCR
	grc/Makefile
	grc/PLIST
	grc/TODO
	grc/distinfo

Log Message:
grc: add new package

Being overflooded with different logfile colo(u)?ri(s|z)ers,
colortails, gccolors, colormakes and similar programs for making
text files or outputs of different programs more readable by
inserting ansi colour control codes into them, I decided to write
my very own colouriser, eventually providing the functions of all
those others.

Two programs are provided: grc and grcat.  The main is grcat, which
acts as a filter, i.e. taking standard input, colourising it and
writing to standard output.

TODO:
Does not seem to work for me on NetBSD. -- wiz 20150928

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=fc972f2f1b808904cb4f8b1414a69a4e5c4a3cc9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile     | 11 ++++++-----
 grc/DESCR    | 10 ++++++++++
 grc/Makefile | 34 ++++++++++++++++++++++++++++++++++
 grc/PLIST    | 28 ++++++++++++++++++++++++++++
 grc/TODO     |  1 +
 grc/distinfo |  5 +++++
 6 files changed, 84 insertions(+), 5 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 44986d6..1378f99 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,7 @@
 
 COMMENT=	WIP pkgsrc packages
 
+#SUBDIR+=	.git # to silence pkglint
 SUBDIR+=	389-ds-base
 SUBDIR+=	Bear
 SUBDIR+=	Chinput
@@ -915,6 +916,7 @@ SUBDIR+=	grass-Spearfish-imagery
 SUBDIR+=	grass-WakeCounty
 SUBDIR+=	grass-gully
 SUBDIR+=	graveman
+SUBDIR+=	grc
 SUBDIR+=	gretl
 SUBDIR+=	grip
 SUBDIR+=	grisbi
@@ -1466,10 +1468,8 @@ SUBDIR+=	libeio
 SUBDIR+=	libeio-cvs
 SUBDIR+=	libepc
 SUBDIR+=	libeps
-SUBDIR+=	libestr
 SUBDIR+=	libfm
 SUBDIR+=	libfplll
-SUBDIR+=	libfs
 SUBDIR+=	libftdi1
 SUBDIR+=	libgadu
 SUBDIR+=	libgda-bdb
@@ -1605,7 +1605,7 @@ SUBDIR+=	lissac
 SUBDIR+=	litecoin
 SUBDIR+=	lives
 SUBDIR+=	livestreamer
-SUBDIR+=	lldpd
+SUBDIR+=	lldb-git
 SUBDIR+=	llvm-rtlib
 SUBDIR+=	lmdbg-current
 SUBDIR+=	lmfit
@@ -1997,6 +1997,7 @@ SUBDIR+=	openbsd-input-usbtablet
 SUBDIR+=	openca
 SUBDIR+=	opencascade
 SUBDIR+=	opendchub
+SUBDIR+=	opendylan
 SUBDIR+=	openerp-server
 SUBDIR+=	openh264
 SUBDIR+=	openlogos
@@ -2873,6 +2874,7 @@ SUBDIR+=	py-lire
 SUBDIR+=	py-liveplots
 SUBDIR+=	py-llfuse
 SUBDIR+=	py-locustio
+SUBDIR+=	py-logbook
 SUBDIR+=	py-loggly
 SUBDIR+=	py-logilab-database
 SUBDIR+=	py-logilab-mtconverter
@@ -3123,7 +3125,6 @@ SUBDIR+=	py-remctl
 SUBDIR+=	py-report
 SUBDIR+=	py-repositoryhandler
 SUBDIR+=	py-repoze.tm2
-SUBDIR+=	py-requests-oauthlib
 SUBDIR+=	py-restkit
 SUBDIR+=	py-rf
 SUBDIR+=	py-rlcompleter2
@@ -3264,6 +3265,7 @@ SUBDIR+=	py-trollius
 SUBDIR+=	py-tsgeom
 SUBDIR+=	py-ttk
 SUBDIR+=	py-turbojson
+SUBDIR+=	py-twilio
 SUBDIR+=	py-twisted-kqueue
 SUBDIR+=	py-txWS
 SUBDIR+=	py-txZMQ
@@ -3627,7 +3629,6 @@ SUBDIR+=	stmpclean
 SUBDIR+=	stonx
 SUBDIR+=	structure
 SUBDIR+=	stumpwm
-SUBDIR+=	stunnel3
 SUBDIR+=	sudo
 SUBDIR+=	suitesparse
 SUBDIR+=	sun-j2me
diff --git a/grc/DESCR b/grc/DESCR
new file mode 100644
index 0000000..78b8b1b
--- /dev/null
+++ b/grc/DESCR
@@ -0,0 +1,10 @@
+Being overflooded with different logfile colo(u)?ri(s|z)ers,
+colortails, gccolors, colormakes and similar programs for making
+text files or outputs of different programs more readable by
+inserting ansi colour control codes into them, I decided to write
+my very own colouriser, eventually providing the functions of all
+those others.
+
+Two programs are provided: grc and grcat.  The main is grcat, which
+acts as a filter, i.e. taking standard input, colourising it and
+writing to standard output.
diff --git a/grc/Makefile b/grc/Makefile
new file mode 100644
index 0000000..48573c2
--- /dev/null
+++ b/grc/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD$
+
+DISTNAME=	grc-1.9
+CATEGORIES=	sysutils
+MASTER_SITES=	${MASTER_SITE_GITHUB:=garabik/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/garabik/grc/
+COMMENT=	Generic colouriser
+LICENSE=	gnu-gpl-v2
+
+INSTALLATION_DIRS=	share/grc share/examples/grc bin ${PKGMANDIR}/man1
+CONF_FILES+=	${PREFIX}/share/examples/grc/grc.conf ${PKG_SYSCONFDIR}/grc.conf
+
+REPLACE_PYTHON=	grc grcat
+
+SUBST_CLASSES+=		path
+SUBST_STAGE.path=	post-build
+SUBST_SED.path=		-e "s,/usr/local,${PREFIX},"
+SUBST_FILES.path=	grcat grcat.1
+SUBST_MESSAGE.path=	Fixing path to config files.
+
+do-build:
+
+do-install:
+	cd ${WRKSRC} && \
+		${INSTALL_DATA} conf.* ${DESTDIR}${PREFIX}/share/grc && \
+		${INSTALL_DATA} grc.conf ${DESTDIR}${PREFIX}/share/examples/grc && \
+		${INSTALL_SCRIPT} grc grcat ${DESTDIR}${PREFIX}/bin && \
+		${INSTALL_DATA} grc.1 grcat.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/grc/PLIST b/grc/PLIST
new file mode 100644
index 0000000..cc356d3
--- /dev/null
+++ b/grc/PLIST
@@ -0,0 +1,28 @@
+@comment $NetBSD$
+bin/grc
+bin/grcat
+man/man1/grc.1
+man/man1/grcat.1
+share/examples/grc/grc.conf
+share/grc/conf.configure
+share/grc/conf.cvs
+share/grc/conf.df
+share/grc/conf.diff
+share/grc/conf.dig
+share/grc/conf.esperanto
+share/grc/conf.gcc
+share/grc/conf.ifconfig
+share/grc/conf.irclog
+share/grc/conf.ldap
+share/grc/conf.log
+share/grc/conf.ls
+share/grc/conf.mount
+share/grc/conf.mount2
+share/grc/conf.mtr
+share/grc/conf.netstat
+share/grc/conf.php
+share/grc/conf.ping
+share/grc/conf.proftpd
+share/grc/conf.ps
+share/grc/conf.traceroute
+share/grc/conf.wdiff
diff --git a/grc/TODO b/grc/TODO
new file mode 100644
index 0000000..72772e0
--- /dev/null
+++ b/grc/TODO
@@ -0,0 +1 @@
+Does not seem to work for me on NetBSD. -- wiz 20150928
diff --git a/grc/distinfo b/grc/distinfo
new file mode 100644
index 0000000..52ffcd4
--- /dev/null
+++ b/grc/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+SHA1 (grc-1.9.tar.gz) = 13c8dc32084b707021636d654ef25d7804277207
+RMD160 (grc-1.9.tar.gz) = a6d6d7144623a1875bb1f39d8ecdf797c6ad012c
+Size (grc-1.9.tar.gz) = 29252 bytes


Home | Main Index | Thread Index | Old Index