Lines 1-5
Link Here
|
1 |
PORTNAME= toybox |
1 |
PORTNAME= toybox |
2 |
PORTVERSION= 0.8.10 |
2 |
PORTVERSION= 0.8.11 |
3 |
CATEGORIES= sysutils |
3 |
CATEGORIES= sysutils |
4 |
MASTER_SITES= http://landley.net/toybox/downloads/ |
4 |
MASTER_SITES= http://landley.net/toybox/downloads/ |
5 |
|
5 |
|
Lines 16-44
BUILD_DEPENDS= bash:shells/bash gsed:textproc/gsed
Link Here
|
16 |
|
16 |
|
17 |
USES= gmake shebangfix |
17 |
USES= gmake shebangfix |
18 |
|
18 |
|
19 |
SHEBANG_FILES= mkroot/record-commands scripts/bloatcheck \ |
19 |
SHEBANG_FILES= mkroot/record-commands scripts/probes/bloatcheck \ |
20 |
scripts/mcm-buildall.sh scripts/change.sh \ |
20 |
scripts/mcm-buildall.sh scripts/change.sh \ |
21 |
scripts/findglobals.sh scripts/genconfig.sh \ |
21 |
scripts/probes/findglobals scripts/genconfig.sh \ |
22 |
scripts/install.sh scripts/make.sh scripts/mkroot.sh \ |
22 |
scripts/install.sh scripts/make.sh scripts/mkroot.sh \ |
23 |
scripts/portability.sh scripts/runtest.sh \ |
23 |
scripts/portability.sh scripts/runtest.sh \ |
24 |
scripts/single.sh scripts/test.sh configure \ |
24 |
scripts/single.sh scripts/test.sh configure \ |
25 |
tests/* |
25 |
tests/* |
26 |
|
26 |
|
27 |
BIN_LINKS= [ cat chgrp chmod chown cksum cpio crc32 date dos2unix echo \ |
|
|
28 |
egrep false fgrep fsync grep help hostname kill ln ls mkdir \ |
29 |
mknod mktemp mountpoint nice pidof printenv pwd rm rmdir sed \ |
30 |
sleep sync touch true uname unix2dos usleep vmstat |
31 |
SBIN_LINKS= killall5 lsmod mkswap modinfo sysctl |
32 |
USRBIN_LINKS= acpi ascii base64 basename bunzip2 bzcat cal chrt chvt \ |
33 |
clear cmp comm count cut dirname du expand factor fallocate \ |
34 |
file find flock fmt groups head hexedit iconv id killall link \ |
35 |
logger logname lspci lsusb makedevs mkfifo mkpasswd nl nohup \ |
36 |
od paste patch pmap printf pwdx readlink realpath renice \ |
37 |
reset rev seq setsid shred shuf sort split strings tac tee \ |
38 |
test time timeout truncate tty uniq unlink uudecode uuencode \ |
39 |
uuidgen w watch wc which who whoami xargs xxd yes |
40 |
USRSBIN_LINKS= chroot |
41 |
|
42 |
do-configure: |
27 |
do-configure: |
43 |
cd ${WRKSRC} && HOSTCC=${CC} ${GMAKE} bsd_defconfig |
28 |
cd ${WRKSRC} && HOSTCC=${CC} ${GMAKE} bsd_defconfig |
44 |
|
29 |
|
Lines 48-64
do-install:
Link Here
|
48 |
${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}/sbin |
33 |
${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}/sbin |
49 |
${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}/usr/bin |
34 |
${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}/usr/bin |
50 |
${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}/usr/sbin |
35 |
${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}/usr/sbin |
51 |
.for f in ${BIN_LINKS} |
36 |
(cd ${WRKSRC} && PREFIX=${STAGEDIR}${PREFIX}/${PORTNAME} scripts/install.sh --symlink --long) |
52 |
${LN} -s ../../bin/toybox ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/${f} |
|
|
53 |
.endfor |
54 |
.for f in ${SBIN_LINKS} |
55 |
${LN} -s ../../bin/toybox ${STAGEDIR}${PREFIX}/${PORTNAME}/sbin/${f} |
56 |
.endfor |
57 |
.for f in ${USRBIN_LINKS} |
58 |
${LN} -s ../../../bin/toybox ${STAGEDIR}${PREFIX}/${PORTNAME}/usr/bin/${f} |
59 |
.endfor |
60 |
.for f in ${USRSBIN_LINKS} |
61 |
${LN} -s ../../../bin/toybox ${STAGEDIR}${PREFIX}/${PORTNAME}/usr/sbin/${f} |
62 |
.endfor |
63 |
|
37 |
|
64 |
.include <bsd.port.mk> |
38 |
.include <bsd.port.mk> |