svn commit: r347532 - head/textproc/confget
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Mar 8 19:46:41 UTC 2014
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
More information about the svn-ports-all
mailing list