aboutsummaryrefslogtreecommitdiff
path: root/textproc/confget
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-03-08 19:46:40 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-03-08 19:46:40 +0000
commite4b3849bc73574bfb3021ac17abb562d00c6051e (patch)
tree525e4f0ff0774ce2c19feec269e03ed5bd7635a9 /textproc/confget
parent79667b1cf7bb950c02f09974eb3bc9de57a04324 (diff)
downloadports-e4b3849bc73574bfb3021ac17abb562d00c6051e.tar.gz
ports-e4b3849bc73574bfb3021ac17abb562d00c6051e.zip
- Convert to new options helper
- Simplify Makefile
Notes
Notes: svn path=/head/; revision=347532
Diffstat (limited to 'textproc/confget')
-rw-r--r--textproc/confget/Makefile12
1 files changed, 1 insertions, 11 deletions
diff --git a/textproc/confget/Makefile b/textproc/confget/Makefile
index 4ebe16bab912..dea23b483c3d 100644
--- a/textproc/confget/Makefile
+++ b/textproc/confget/Makefile
@@ -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