From owner-svn-ports-head@FreeBSD.ORG Sun Jan 26 23:54:00 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 30C5F855; Sun, 26 Jan 2014 23:54:00 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1C8B41931; Sun, 26 Jan 2014 23:54:00 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0QNrxVx001865; Sun, 26 Jan 2014 23:53:59 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0QNrxil001864; Sun, 26 Jan 2014 23:53:59 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201401262353.s0QNrxil001864@svn.freebsd.org> From: Baptiste Daroussin Date: Sun, 26 Jan 2014 23:53:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341313 - head/devel/re2c X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jan 2014 23:54:00 -0000 Author: bapt Date: Sun Jan 26 23:53:59 2014 New Revision: 341313 URL: http://svnweb.freebsd.org/changeset/ports/341313 QAT: https://qat.redports.org/buildarchive/r341313/ Log: Support stage Add DOCS and EXAMPLES option Modified: head/devel/re2c/Makefile Modified: head/devel/re2c/Makefile ============================================================================== --- head/devel/re2c/Makefile Sun Jan 26 23:53:01 2014 (r341312) +++ head/devel/re2c/Makefile Sun Jan 26 23:53:59 2014 (r341313) @@ -13,21 +13,15 @@ OPTIONS_DEFINE= DOCS EXAMPLES GNU_CONFIGURE= yes -MAN1= re2c.1 -PLIST_FILES= bin/re2c +PLIST_FILES= bin/re2c \ + man/man1/re2c.1.gz PORTDOCS= * PORTEXAMPLES= * -NO_STAGE= yes -.include - post-install: -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR}/ - cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${DOCSDIR}/ -.endif -.if ${PORT_OPTIONS:MEXAMPLES} - ${MKDIR} ${EXAMPLESDIR}/ - cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR}/ -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR}/ + cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/ + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ + cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/ + .include