blob: c4881797572b63bbdc7e8132f33515d490a0b0e3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# New ports collection makefile for: busybox
# Date created: Aug.18, 2008
# Whom: luigi@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= busybox
PORTVERSION= 1.18.3
CATEGORIES= sysutils misc shells
MASTER_SITES= http://www.busybox.net/downloads/ \
http://distfiles.gentoo.org/distfiles/
MAINTAINER= utisoft@gmail.com
COMMENT= Busybox for FreeBSD
BUILD_DEPENDS= gsed:${PORTSDIR}/textproc/gsed
USE_BZIP2= yes
USE_GMAKE= yes
PLIST_FILES= bin/busybox
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's/sed/gsed/' ${WRKSRC}/scripts/gen_build_files.sh
@${REINPLACE_CMD} -e 's/<malloc.h>/<stdlib.h>/' \
${WRKSRC}/libbb/appletlib.c \
${WRKSRC}/shell/hush.c
do-configure:
${CP} ${FILESDIR}/data-.config ${WRKSRC}/.config
cd ${WRKSRC} && ${GMAKE} oldconfig
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.post.mk>
|