pkgsrc/lang/nawk/Makefile
jlam 1284f595b8 Mark these packages as NO_MTREE as they are bootstrap packages and don't
need mtree to pre-generate any directories for them.
2006-07-14 16:24:28 +00:00

30 lines
716 B
Makefile

# $NetBSD: Makefile,v 1.29 2006/07/14 16:24:28 jlam Exp $
DISTNAME= nawk-20050424
CATEGORIES= lang
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= jlam@NetBSD.org
HOMEPAGE= http://cm.bell-labs.com/who/bwk/
COMMENT= Brian Kernighan's pattern-directed scanning and processing language
PKG_INSTALLATION_TYPES= overwrite pkgviews
CFLAGS+= ${CPPFLAGS}
MAKE_FLAGS+= CC=${CC:Q} CFLAGS=${CFLAGS:M*:Q}
NO_CHECKSUM= yes
NO_MTREE= yes
BUILD_TARGET= a.out
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-extract:
@${CP} -R ${FILESDIR} ${WRKSRC}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/a.out ${PREFIX}/bin/nawk
${INSTALL_MAN} ${WRKSRC}/nawk.1 ${PREFIX}/${PKGMANDIR}/man1/nawk.1
.include "../../mk/bsd.pkg.mk"