# New ports collection makefile for: busybox # Date created: Aug.18, 2008 # Whom: luigi@FreeBSD.org # # $FreeBSD$ # PORTNAME= busybox PORTVERSION= 1.13.4 CATEGORIES= sysutils misc shells MASTER_SITES= http://www.busybox.net/downloads/ \ http://distfiles.gentoo.org/distfiles/ MAINTAINER= utisoft@gmail.com COMMENT= Busybox for FreeBSD USE_BZIP2= yes USE_GMAKE= yes PLIST_FILES= bin/busybox .include post-patch: @${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} \ ${REINPLACE_CMD} -e 's/ dprintf(/ bb_dprintf(/g' ${REINPLACE_CMD} -e 's/fdprintf dprintf/fdprintf bb_dprintf/g' \ ${WRKSRC}/include/platform.h do-configure: ${CP} ${FILESDIR}/data-.config ${WRKSRC}/.config cd ${WRKSRC} && ${GMAKE} oldconfig do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin .include