28 lines
720 B
Makefile
28 lines
720 B
Makefile
# $NetBSD: Makefile,v 1.13 2003/03/29 12:41:27 jmmv Exp $
|
|
#
|
|
|
|
DISTNAME= awk
|
|
PKGNAME= nawk-20030314
|
|
WRKSRC= ${WRKDIR}
|
|
CATEGORIES= lang
|
|
MASTER_SITES= http://cm.bell-labs.com/who/bwk/
|
|
|
|
MAINTAINER= cjep@netbsd.org
|
|
HOMEPAGE= http://cm.bell-labs.com/who/bwk/
|
|
COMMENT= Brian Kernighan's pattern-directed scanning and processing language
|
|
|
|
DIST_SUBDIR= ${PKGNAME}
|
|
|
|
MAKEFILE= makefile
|
|
MAKEFLAGS+= CC=${CC:Q} YACC=${YACC:Q} CFLAGS=${CFLAGS:Q}
|
|
ALL_TARGET= a.out
|
|
|
|
post-build:
|
|
${SED} -e 's|awk|nawk|g' -e 's/Awk/Nawk/g' \
|
|
${WRKSRC}/awk.1 > ${WRKSRC}/nawk.1
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/a.out ${PREFIX}/bin/nawk
|
|
${INSTALL_MAN} ${WRKSRC}/nawk.1 ${PREFIX}/man/man1/nawk.1
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|