svn commit: r300982 - head/devel/bison
Johan van Selst
johans at FreeBSD.org
Mon Jul 16 20:42:39 UTC 2012
Author: johans
Date: Mon Jul 16 20:42:38 2012
New Revision: 300982
URL: http://svn.freebsd.org/changeset/ports/300982
Log:
- Check for EXAMPLES rather than DOCS options to determine examples installation
- Fix plist in case examples are not installed
Submitted by: flo
Modified:
head/devel/bison/Makefile
Modified: head/devel/bison/Makefile
==============================================================================
--- head/devel/bison/Makefile Mon Jul 16 20:28:34 2012 (r300981)
+++ head/devel/bison/Makefile Mon Jul 16 20:42:38 2012 (r300982)
@@ -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]* \
More information about the svn-ports-all
mailing list