summaryrefslogtreecommitdiff
path: root/lang/mawk/Makefile
blob: 1f4ff2a6b61525a8af154de36f4d279bdcde6d1b (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
# ex:ts=8
# Ports collection makefile for:  mawk
# Date created:			  24 Dec 1998
# Whom:				  Pedro F. Giffuni <giffunip@asme.org>
#
# $FreeBSD$
#

PORTNAME=	mawk
PORTVERSION=	1.3.3
CATEGORIES=	lang
MASTER_SITES=	ftp://ftp.fu-berlin.de/unix/languages/mawk/ \
		ftp://ftp.whidbey.net/pub/brennan/

MAINTAINER=	ota@j.email.ne.jp
COMMENT=	An implementation of new/posix awk

GNU_CONFIGURE=	yes
CONFIGURE_ENV=	MATHLIB="-lm"
ALL_TARGET=	${PORTNAME}

MAN1=		mawk.1
PLIST_FILES=	bin/mawk

regression-test: build
	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} mawk_test fpe_test

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

.include <bsd.port.mk>