Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Mar 2014 19:46:41 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r347532 - head/textproc/confget
Message-ID:  <201403081946.s28Jkf92006455@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Mar  8 19:46:40 2014
New Revision: 347532
URL: http://svnweb.freebsd.org/changeset/ports/347532
QAT: https://qat.redports.org/buildarchive/r347532/

Log:
  - Convert to new options helper
  - Simplify Makefile

Modified:
  head/textproc/confget/Makefile

Modified: head/textproc/confget/Makefile
==============================================================================
--- head/textproc/confget/Makefile	Sat Mar  8 19:17:50 2014	(r347531)
+++ head/textproc/confget/Makefile	Sat Mar  8 19:46:40 2014	(r347532)
@@ -24,17 +24,7 @@ PORTEXAMPLES=	t1.ini t2.ini
 
 EXAMPLES_MAKE_ENV=	EXAMPLESDIR=${EXAMPLESDIR}
 PCRE_LIB_DEPENDS=	libpcre.so:${PORTSDIR}/devel/pcre
-
-.include <bsd.port.options.mk>
-
-.if !${PORT_OPTIONS:MPCRE}
-MAKE_ENV+=	PCRE_CFLAGS="" PCRE_LIBS=""
-.endif
-
-post-patch:
-.if !${PORT_OPTIONS:MEXAMPLES}
-	@${REINPLACE_CMD} -e '/^install:/ s| install-examples||' ${WRKSRC}/Makefile
-.endif
+PCRE_MAKE_ENV_OFF=	PCRE_CFLAGS="" PCRE_LIBS=""
 
 post-build:
 	@${STRIP_CMD} ${WRKSRC}/confget



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403081946.s28Jkf92006455>