Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Dec 2017 17:41:56 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r455786 - in head/sysutils: . nq
Message-ID:  <201712081741.vB8HfuxI035616@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Fri Dec  8 17:41:56 2017
New Revision: 455786
URL: https://svnweb.freebsd.org/changeset/ports/455786

Log:
  New port: sysutils/nq
  
  These small utilities allow creating very lightweight job queue
  systems which require no setup, maintenance, supervision, or any
  long-running processes.
  
  The intended purpose is ad-hoc queuing of command lines (e.g. for
  building several targets of a Makefile, downloading multiple files one
  at a time, running benchmarks in several configurations, or simply as
  a glorified nohup), but as any good Unix tool, it can be abused for
  whatever you like.
  
  WWW: https://github.com/chneukirchen/nq

Added:
  head/sysutils/nq/
  head/sysutils/nq/Makefile   (contents, props changed)
  head/sysutils/nq/distinfo   (contents, props changed)
  head/sysutils/nq/pkg-descr   (contents, props changed)
  head/sysutils/nq/pkg-plist   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Fri Dec  8 17:05:59 2017	(r455785)
+++ head/sysutils/Makefile	Fri Dec  8 17:41:56 2017	(r455786)
@@ -696,6 +696,7 @@
     SUBDIR += node_exporter
     SUBDIR += nomad
     SUBDIR += npadmin
+    SUBDIR += nq
     SUBDIR += nrg2iso
     SUBDIR += nut
     SUBDIR += nvclock

Added: head/sysutils/nq/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/nq/Makefile	Fri Dec  8 17:41:56 2017	(r455786)
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME=	nq
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.2.1
+CATEGORIES=	sysutils
+
+MAINTAINER=	tobik@FreeBSD.org
+COMMENT=	Unix command line queue utility
+
+LICENSE=	CC0-1.0
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+USES=		perl5
+USE_GITHUB=	yes
+GH_ACCOUNT=	chneukirchen
+USE_PERL5=	test
+
+MAKE_ARGS=	PREFIX="${PREFIX}" MANDIR="${PREFIX}/man"
+TEST_TARGET=	check
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/fq ${STAGEDIR}${PREFIX}/bin/nq
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
+	${INSTALL_DATA} ${WRKSRC}/_nq ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_nq
+
+.include <bsd.port.mk>

Added: head/sysutils/nq/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/nq/distinfo	Fri Dec  8 17:41:56 2017	(r455786)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1512754132
+SHA256 (chneukirchen-nq-v0.2.1_GH0.tar.gz) = 1773290791cce646e5e54e935118498a95948ca39ff5d58ac6dc65135275d3fc
+SIZE (chneukirchen-nq-v0.2.1_GH0.tar.gz) = 10456

Added: head/sysutils/nq/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/nq/pkg-descr	Fri Dec  8 17:41:56 2017	(r455786)
@@ -0,0 +1,11 @@
+These small utilities allow creating very lightweight job queue
+systems which require no setup, maintenance, supervision, or any
+long-running processes.
+
+The intended purpose is ad-hoc queuing of command lines (e.g. for
+building several targets of a Makefile, downloading multiple files one
+at a time, running benchmarks in several configurations, or simply as
+a glorified nohup), but as any good Unix tool, it can be abused for
+whatever you like.
+
+WWW: https://github.com/chneukirchen/nq

Added: head/sysutils/nq/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/nq/pkg-plist	Fri Dec  8 17:41:56 2017	(r455786)
@@ -0,0 +1,7 @@
+bin/fq
+bin/nq
+bin/tq
+man/man1/fq.1.gz
+man/man1/nq.1.gz
+man/man1/tq.1.gz
+share/zsh/site-functions/_nq



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712081741.vB8HfuxI035616>