[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / lang / mawk

File: [cvs.NetBSD.org] / pkgsrc / lang / mawk / Makefile (download)

Revision 1.18, Mon Aug 20 21:42:26 2007 UTC (16 years, 7 months ago) by agc
Branch: MAIN
Changes since 1.17: +2 -1 lines

Add DESTDIR support

# $NetBSD: Makefile,v 1.18 2007/08/20 21:42:26 agc Exp $
#

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

MAINTAINER=	agc@NetBSD.org
COMMENT=	Mike Brennan's fast awk clone

INSTALLATION_DIRS=	${PKGMANDIR}/man1

GNU_CONFIGURE=	yes
CONFIGURE_HAS_MANDIR=	no
TEST_TARGET=	mawk_test fpe_test
PKG_DESTDIR_SUPPORT=	user-destdir

.include "../../mk/bsd.prefs.mk"

# mawk configure fails with -ffast-math
CFLAGS:=	${CFLAGS:S/-ffast-math//}

.if ${OPSYS} == "SunOS"
MAKE_ENV+=		CPPFLAGS=
.endif

.include "../../mk/bsd.pkg.mk"