Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jul 2012 20:42:39 +0000 (UTC)
From:      Johan van Selst <johans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r300982 - head/devel/bison
Message-ID:  <201207162042.q6GKgd0J080902@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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]* \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207162042.q6GKgd0J080902>