aboutsummaryrefslogtreecommitdiffstats
path: root/devel/bison
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2012-07-17 04:42:38 +0800
committerjohans <johans@FreeBSD.org>2012-07-17 04:42:38 +0800
commit3d6269415c80dbe8155ddd65c9450f6e0457bbaf (patch)
treefc7267d088d2649316764fd0ec042dceafce4afe /devel/bison
parent84f3aaccb956965710b26a87253908626a8dcc25 (diff)
downloadfreebsd-ports-gnome-3d6269415c80dbe8155ddd65c9450f6e0457bbaf.tar.gz
freebsd-ports-gnome-3d6269415c80dbe8155ddd65c9450f6e0457bbaf.tar.zst
freebsd-ports-gnome-3d6269415c80dbe8155ddd65c9450f6e0457bbaf.zip
- Check for EXAMPLES rather than DOCS options to determine examples installation
- Fix plist in case examples are not installed Submitted by: flo
Diffstat (limited to 'devel/bison')
-rw-r--r--devel/bison/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/bison/Makefile b/devel/bison/Makefile
index 0338555b6f6d..4ebdbb7eb314 100644
--- a/devel/bison/Makefile
+++ b/devel/bison/Makefile
@@ -49,7 +49,9 @@ post-extract:
@${REINPLACE_CMD} 's/ install-exec-local//' ${WRKSRC}/lib/Makefile.in
.endif
-.if empty(PORT_OPTIONS:MDOCS)
+.if ${PORT_OPTIONS:MEXAMPLES}
+PORTEXAMPLES= calc++
+
post-install:
${MKDIR} ${EXAMPLESDIR}/calc++
${INSTALL_DATA} ${WRKSRC}/examples/calc++/*.[chly]* \