mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
5bfa5d580d
Changelog: https://landley.net/toybox/news.html#08-04-2024
- New toys: dd, fold, nbd-server, su, ts, tsort, uname
- Bugfix: df now works
- passwd is temporarily removed waiting on an infrastructure rewrite
Changes to the port itself:
- I reworked the install portion to stay closer to upstream's way of
doing it. This reduces the amount of clutter in the Makefile and makes
it easier to update the port in the future.
- The port patches[1][2] have been sent upstream.
[1] Enabling shuf and uname
[2] Fixing the portability shim to use the correct parameters with
getmntinfo():
7d9ee89d3c
PR: 278481
39 lines
1.2 KiB
Makefile
39 lines
1.2 KiB
Makefile
PORTNAME= toybox
|
|
PORTVERSION= 0.8.11
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://landley.net/toybox/downloads/
|
|
|
|
MAINTAINER= vidar@karlsen.tech
|
|
COMMENT= All-in-one command line
|
|
WWW= https://landley.net/toybox/
|
|
|
|
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
|
|
|
|
USES= gmake shebangfix
|
|
|
|
SHEBANG_FILES= mkroot/record-commands scripts/probes/bloatcheck \
|
|
scripts/mcm-buildall.sh scripts/change.sh \
|
|
scripts/probes/findglobals scripts/genconfig.sh \
|
|
scripts/install.sh scripts/make.sh scripts/mkroot.sh \
|
|
scripts/portability.sh scripts/runtest.sh \
|
|
scripts/single.sh scripts/test.sh configure \
|
|
tests/*
|
|
|
|
do-configure:
|
|
cd ${WRKSRC} && HOSTCC=${CC} ${GMAKE} bsd_defconfig
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/toybox ${STAGEDIR}${PREFIX}/bin
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}/bin
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}/sbin
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}/usr/bin
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}/usr/sbin
|
|
(cd ${WRKSRC} && PREFIX=${STAGEDIR}${PREFIX}/${PORTNAME} scripts/install.sh --symlink --long)
|
|
|
|
.include <bsd.port.mk>
|