aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/confget/Makefile
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2014-03-09 03:46:40 +0800
committersunpoet <sunpoet@FreeBSD.org>2014-03-09 03:46:40 +0800
commitf14647023bc46905b5ae435625327404b11a852c (patch)
tree525e4f0ff0774ce2c19feec269e03ed5bd7635a9 /textproc/confget/Makefile
parenteba04564cea14888f8e0a7886b41618a466e9b08 (diff)
downloadfreebsd-ports-gnome-f14647023bc46905b5ae435625327404b11a852c.tar.gz
freebsd-ports-gnome-f14647023bc46905b5ae435625327404b11a852c.tar.zst
freebsd-ports-gnome-f14647023bc46905b5ae435625327404b11a852c.zip
- Convert to new options helper
- Simplify Makefile
Diffstat (limited to 'textproc/confget/Makefile')
-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