Date: Sat, 6 Oct 2012 16:12:29 +0000 (UTC) From: Eitan Adler <eadler@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r305384 - head/textproc/gnugrep Message-ID: <201210061612.q96GCT6L094947@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: eadler Date: Sat Oct 6 16:12:29 2012 New Revision: 305384 URL: http://svn.freebsd.org/changeset/ports/305384 Log: Convert to OptionsNG Approved by: gabor (maintainer) Modified: head/textproc/gnugrep/Makefile Modified: head/textproc/gnugrep/Makefile ============================================================================== --- head/textproc/gnugrep/Makefile Sat Oct 6 16:11:17 2012 (r305383) +++ head/textproc/gnugrep/Makefile Sat Oct 6 16:12:29 2012 (r305384) @@ -26,11 +26,11 @@ MAN1= egrep.1 \ grep.1 INFO= grep -OPTIONS= PCRE "Compile with Perl-compatible regex support" off +OPTIONS_DEFINE= PCRE .include <bsd.port.options.mk> -.if !defined(WITHOUT_NLS) +.if ${PORT_OPTIONS:MNLS} USE_GETTEXT= yes LDFLAGS+= -lintl -L${LOCALBASE}/lib PLIST_SUB+= NLS= @@ -39,14 +39,14 @@ CONFIGURE_ARGS+= --disable-nls PLIST_SUB+= NLS="@comment " .endif -.if defined(WITH_PCRE) +.if ${PORT_OPTIONS:MPCRE} LIB_DEPENDS+= pcre.1:${PORTSDIR}/devel/pcre .else CONFIGURE_ARGS+= --disable-perl-regexp .endif post-patch: -.if defined(WITHOUT_NLS) +.if empty(PORT_OPTIONS:MNLS) @${REINPLACE_CMD} '/install-exec-local:/s/install-exec-localcharset//' \ ${WRKSRC}/lib/Makefile.in .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210061612.q96GCT6L094947>