freebsd-ports/textproc/bsdgrep/Makefile
Baptiste Daroussin 9a68a598a6 Stop installing potentially wrong gnugrep
Do not create symlinks in scripts
Use options helpers
2015-09-26 09:26:11 +00:00

37 lines
817 B
Makefile

# Created by: Gabor Kovesdan <gabor@FreeBSD.org>
# $FreeBSD$
PORTNAME= grep
PORTVERSION= 20111002
PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= LOCAL/gabor
PKGNAMEPREFIX= bsd-
MAINTAINER= gabor@FreeBSD.org
COMMENT= BSD-licensed version of grep
USES= uidfix
MAKE_ENV+= BINDIR="${PREFIX}/bin" \
MANDIR="${MANPREFIX}/man/man" \
CATDIR="${MANPREFIX}/man/man" \
NLSDIR="${PREFIX}/share/nls"
OPTIONS_DEFINE= GNU_COMPAT NLS
OPTIONS_DEFAULT= GNU_COMPAT
OPTIONS_SUB= yes
GNU_COMPAT_DESC= Use GNU regex library (recommended)
CONFLICTS= gnugrep-*
NLS_MAKE_ENV_OFF= WITHOUT_NLS=yes
GNU_COMPAT_MAKE_ENV_OFF= WITHOUT_GNU_COMPAT=yes
pre-install-NLS-on:
${MKDIR} ${STAGEDIR}${PREFIX}/share/nls/gl_ES.ISO8859-1
post-install:
${LN} -sf ${PREFIX}/bin/grep ${STAGEDIR}${PREFIX}/bin/bsdgrep
.include <bsd.port.mk>