# New ports collection makefile for:	busybox
# Date created:         Aug.18, 2008
# Whom:                 luigi@FreeBSD.org
#
# Maintainers:		Luigi Rizzo <luigi@FreeBSD.org>
#
# $FreeBSD: ports/sysutils/busybox/Makefile,v 1.2 2009/04/18 09:15:55 pav Exp $
#

PORTNAME=	busybox
PORTVERSION=	1.11.1
CATEGORIES=	sysutils misc shells
MASTER_SITES=	http://www.busybox.net/downloads/ \
		http://distfiles.gentoo.org/distfiles/

MAINTAINER=	luigi@FreeBSD.org
COMMENT=	Busybox for FreeBSD

USE_BZIP2=	yes
USE_GMAKE=	yes

PLIST_FILES=	bin/busybox

BROKEN=		does not configure

do-configure:
	${CP} ${FILESDIR}/data-.config ${WRKSRC}/.config
	cd ${WRKSRC} && ${GMAKE} oldconfig

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin

.include <bsd.port.mk>
