Index: sysutils/toybox/Makefile =================================================================== --- sysutils/toybox/Makefile (nonexistent) +++ sysutils/toybox/Makefile (working copy) @@ -0,0 +1,42 @@ +# $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/bloatcheck 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/record-commands \ + scripts/single.sh scripts/test.sh configure + +PLIST_FILES= bin/toybox + +USE_GITHUB= yes +GH_ACCOUNT= landley + +post-patch: + ${REINPLACE_CMD} -e 's||"${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 Index: sysutils/toybox/distinfo =================================================================== --- sysutils/toybox/distinfo (nonexistent) +++ sysutils/toybox/distinfo (working copy) @@ -0,0 +1,3 @@ +TIMESTAMP = 1574379545 +SHA256 (landley-toybox-0.8.2_GH0.tar.gz) = 9d8a9b00a6c93da5b472d8a4c7d9549339ed050d1578c557a20add100172b0f5 +SIZE (landley-toybox-0.8.2_GH0.tar.gz) = 1057417 Index: sysutils/toybox/pkg-descr =================================================================== --- sysutils/toybox/pkg-descr (nonexistent) +++ sysutils/toybox/pkg-descr (working copy) @@ -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/