# $OpenBSD: Makefile,v 1.15 2002/07/30 14:36:50 brad Exp $
# $FreeBSD: Makefile,v 1.1.1.1 1999/01/18 04:50:26 steve Exp $

COMMENT=	"new POSIX awk"

DISTNAME=	mawk1.3.3
PKGNAME=	mawk-1.3.3
CATEGORIES=	lang
MASTER_SITES=	${MASTER_SITE_BACKUP}

PERMIT_PACKAGE_CDROM=	Yes
PERMIT_PACKAGE_FTP=	Yes
PERMIT_DISTFILES_CDROM=	Yes
PERMIT_DISTFILES_FTP=	Yes

CONFIGURE_STYLE= gnu old

ALL_TARGET=	mawk
REGRESS_TARGET=	mawk_test

WRKDIST=	${WRKDIR}/${PKGNAME}

do-install:
	${INSTALL_PROGRAM} ${WRKBUILD}/mawk ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/man/mawk.1 ${PREFIX}/man/man1

.include <bsd.port.mk>
