Line 0
Link Here
|
|
|
1 |
# $FreeBSD$ |
2 |
|
3 |
PORTNAME= toybox |
4 |
PORTVERSION= 0.8.2 |
5 |
CATEGORIES= sysutils |
6 |
|
7 |
MAINTAINER= vidar@karlsen.tech |
8 |
COMMENT= All-in-one command line |
9 |
|
10 |
LICENSE= 0BSD |
11 |
LICENSE_NAME= BSD Zero Clause License |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
13 |
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept |
14 |
|
15 |
BUILD_DEPENDS= bash:shells/bash gsed:textproc/gsed |
16 |
LIB_DEPENDS= libinotify.so:devel/libinotify |
17 |
|
18 |
USES= gmake shebangfix |
19 |
|
20 |
SHEBANG_FILES= scripts/bloatcheck scripts/change.sh \ |
21 |
scripts/findglobals.sh scripts/genconfig.sh \ |
22 |
scripts/install.sh scripts/make.sh \ |
23 |
scripts/minicom.sh scripts/portability.sh \ |
24 |
scripts/runtest.sh scripts/record-commands \ |
25 |
scripts/single.sh scripts/test.sh configure |
26 |
|
27 |
PLIST_FILES= bin/toybox |
28 |
|
29 |
USE_GITHUB= yes |
30 |
GH_ACCOUNT= landley |
31 |
|
32 |
post-patch: |
33 |
${REINPLACE_CMD} -e 's|<sys/inotify.h>|"${LOCALBASE}/include/sys/inotify.h"|' \ |
34 |
${WRKSRC}/lib/portability.c |
35 |
|
36 |
do-configure: |
37 |
cd ${WRKSRC} && ${GMAKE} bsd_defconfig |
38 |
|
39 |
do-install: |
40 |
${INSTALL_PROGRAM} ${WRKSRC}/toybox ${STAGEDIR}${PREFIX}/bin |
41 |
|
42 |
.include <bsd.port.mk> |