pkgsrc/textproc/bsdgrep-devel/Makefile
jperkin 4c1edc2a24 Various fixes:
- Use nbcompat correctly.
  - Support newer zlib API.
  - Handle catpages correctly.

Fixes build on SunOS at least.
2015-07-09 10:56:53 +00:00

27 lines
679 B
Makefile

# $NetBSD: Makefile,v 1.19 2015/07/09 10:56:53 jperkin Exp $
#
DISTNAME= bsdgrep-20071201
PKGNAME= bsdgrep-devel-20071201
CATEGORIES= sysutils textproc
MASTER_SITES= http://www.fawlty.net/software/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= # none
COMMENT= BSD version of grep as in NetBSD src/usr.bin/grep
LICENSE= original-bsd
USE_FEATURES+= cdefs fts_open
USE_BSD_MAKEFILE= yes
USE_TOOLS+= nroff
BUILDLINK_TRANSFORM+= rm:-Werror
MAKE_ENV+= LIBS=${LIBS:Q}
INSTALLATION_DIRS= bin ${PKGMANDIR}/cat1 ${PKGMANDIR}/man1
post-patch:
${SED} -e 's|grep|bgrep|g' ${WRKSRC}/grep.1 > ${WRKSRC}/bgrep.1
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"