From owner-svn-ports-all@FreeBSD.ORG Mon Jul 16 20:42:39 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6A479106566B; Mon, 16 Jul 2012 20:42:39 +0000 (UTC) (envelope-from johans@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5491C8FC0A; Mon, 16 Jul 2012 20:42:39 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q6GKgdK2080904; Mon, 16 Jul 2012 20:42:39 GMT (envelope-from johans@svn.freebsd.org) Received: (from johans@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q6GKgd0J080902; Mon, 16 Jul 2012 20:42:39 GMT (envelope-from johans@svn.freebsd.org) Message-Id: <201207162042.q6GKgd0J080902@svn.freebsd.org> From: Johan van Selst Date: Mon, 16 Jul 2012 20:42:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r300982 - head/devel/bison X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2012 20:42:39 -0000 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]* \