diff options
author | johans <johans@FreeBSD.org> | 2012-07-17 04:42:38 +0800 |
---|---|---|
committer | johans <johans@FreeBSD.org> | 2012-07-17 04:42:38 +0800 |
commit | 3d6269415c80dbe8155ddd65c9450f6e0457bbaf (patch) | |
tree | fc7267d088d2649316764fd0ec042dceafce4afe /devel/bison | |
parent | 84f3aaccb956965710b26a87253908626a8dcc25 (diff) | |
download | freebsd-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/Makefile | 4 |
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]* \ |