mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
83d3ece35f
Reported by: pkg-fallout Pointyhat to: mat
47 lines
918 B
Makefile
47 lines
918 B
Makefile
# Created by: Gabor Kovesdan <gabor@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= grep
|
|
PORTVERSION= 20111002
|
|
PORTREVISION= 1
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= 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
|
|
GNU_COMPAT_DESC= Use GNU regex library (recommended)
|
|
|
|
CONFLICTS= gnugrep-*
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
|
PLIST_SUB+= NLS=""
|
|
.else
|
|
MAKE_ENV+= WITHOUT_NLS=yes
|
|
PLIST_SUB+= NLS="@comment "
|
|
.endif
|
|
|
|
.if !${PORT_OPTIONS:MGNU_COMPAT}
|
|
MAKE_ENV+= WITHOUT_GNU_COMPAT=yes
|
|
.endif
|
|
|
|
pre-install:
|
|
.if ${PORT_OPTIONS:MNLS}
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/share/nls/gl_ES.ISO8859-1
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|