Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2019 12:15:37 +0000 (UTC)
From:      Renato Botelho <garga@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r518143 - in head/sysutils: . toybox
Message-ID:  <201911221215.xAMCFbK6031293@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: garga
Date: Fri Nov 22 12:15:37 2019
New Revision: 518143
URL: https://svnweb.freebsd.org/changeset/ports/518143

Log:
  Toybox combines common command line utilities together
  into a single BSD-licensed executable that's simple, small,
  fast, reasonably standards-compliant, and powerful.
  
  WWW: http://landley.net/toybox/
  
  PR:		239494
  Submitted by:	vidar@karlsen.tech

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

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Fri Nov 22 12:13:16 2019	(r518142)
+++ head/sysutils/Makefile	Fri Nov 22 12:15:37 2019	(r518143)
@@ -1309,6 +1309,7 @@
     SUBDIR += topless
     SUBDIR += torque
     SUBDIR += toshctl
+    SUBDIR += toybox
     SUBDIR += tracker
     SUBDIR += tracker-miners
     SUBDIR += tree

Added: head/sysutils/toybox/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/toybox/Makefile	Fri Nov 22 12:15:37 2019	(r518143)
@@ -0,0 +1,41 @@
+# $FreeBSD$
+
+PORTNAME=	toybox
+PORTVERSION=	0.8.2
+CATEGORIES=	sysutils
+
+MAINTAINER=	vidar@karlsen.tech
+COMMENT=	All-in-one command line
+
+LICENSE=	0BSD
+LICENSE_NAME=	BSD Zero Clause License
+LICENSE_FILE=	${WRKSRC}/LICENSE
+LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
+BUILD_DEPENDS=	bash:shells/bash gsed:textproc/gsed
+LIB_DEPENDS=	libinotify.so:devel/libinotify
+
+USES=		gmake shebangfix
+
+SHEBANG_FILES=	scripts/change.sh scripts/findglobals.sh \
+		scripts/genconfig.sh scripts/install.sh \
+		scripts/make.sh scripts/minicom.sh \
+		scripts/portability.sh scripts/runtest.sh \
+		scripts/single.sh scripts/test.sh configure
+
+PLIST_FILES=	bin/toybox
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	landley
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|<sys/inotify.h>|"${LOCALBASE}/include/sys/inotify.h"|' \
+		${WRKSRC}/lib/portability.c
+
+do-configure:
+	cd ${WRKSRC} && ${GMAKE} bsd_defconfig
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/toybox ${STAGEDIR}${PREFIX}/bin
+
+.include <bsd.port.mk>

Added: head/sysutils/toybox/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/toybox/distinfo	Fri Nov 22 12:15:37 2019	(r518143)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1574378247
+SHA256 (landley-toybox-0.8.2_GH0.tar.gz) = 9d8a9b00a6c93da5b472d8a4c7d9549339ed050d1578c557a20add100172b0f5
+SIZE (landley-toybox-0.8.2_GH0.tar.gz) = 1057417

Added: head/sysutils/toybox/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/toybox/pkg-descr	Fri Nov 22 12:15:37 2019	(r518143)
@@ -0,0 +1,5 @@
+Toybox combines common command line utilities together
+into a single BSD-licensed executable that's simple, small,
+fast, reasonably standards-compliant, and powerful.
+
+WWW: http://landley.net/toybox/



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