# $FreeBSD: branches/RELEASE_8_4_0/shells/dash/Makefile 313672 2013-03-08 20:23:38Z eadler $

PORTNAME=	dash
PORTVERSION=	0.5.7
CATEGORIES=	shells
MASTER_SITES=	http://gondor.apana.org.au/~herbert/dash/files/

MAINTAINER=	eadler@FreeBSD.org
COMMENT=	POSIX-compliant implementation of /bin/sh

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
CFLAGS+=	-DUNUSABLE_RT_SIGNALS

MAKE_JOBS_SAFE=	yes

PLIST_FILES=	bin/dash
MAN1=		dash.1

post-patch:
	@${REINPLACE_CMD} -e '/COMMON_CFLAGS =/ s|$$| ${CFLAGS}|' \
		${WRKSRC}/src/Makefile.in

.include <bsd.port.mk>
