From owner-svn-ports-head@FreeBSD.ORG Sat Sep 7 20:42:39 2013 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 ESMTP id ED7C4DF0; Sat, 7 Sep 2013 20:42:39 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) 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 C1668248C; Sat, 7 Sep 2013 20:42:39 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r87KgdtB068640; Sat, 7 Sep 2013 20:42:39 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r87KgdFB068638; Sat, 7 Sep 2013 20:42:39 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201309072042.r87KgdFB068638@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Sat, 7 Sep 2013 20:42:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r326684 - 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.14 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: Sat, 07 Sep 2013 20:42:40 -0000 Author: sunpoet Date: Sat Sep 7 20:42:39 2013 New Revision: 326684 URL: http://svnweb.freebsd.org/changeset/ports/326684 Log: - Update to 0.13.6 - Cleanup Makefile header - Convert to new options framework - While I'm here: - Use COPYTREE_SHARE instead of CP -R to ensure file permissions - Use PLIST_FILES, PORTDOCS and PORTEXAMPLES instead of PLIST Changes: http://sourceforge.net/p/re2c/code-git/ci/master/tree/re2c/CHANGELOG PR: ports/181862 Submitted by: Gasol Wu Approved by: Corey Halpin (maintainer) Deleted: head/devel/re2c/pkg-plist Modified: head/devel/re2c/Makefile (contents, props changed) head/devel/re2c/distinfo (contents, props changed) Modified: head/devel/re2c/Makefile ============================================================================== --- head/devel/re2c/Makefile Sat Sep 7 19:49:41 2013 (r326683) +++ head/devel/re2c/Makefile Sat Sep 7 20:42:39 2013 (r326684) @@ -1,29 +1,32 @@ -# New ports collection makefile for: re2c -# Date created: 14 May 1998 -# Whom: Eivind Eklund -# +# Created by: Eivind Eklund # $FreeBSD$ -# PORTNAME= re2c -PORTVERSION= 0.13.5 +PORTVERSION= 0.13.6 CATEGORIES= devel MASTER_SITES= SF MAINTAINER= chalpin@cs.wisc.edu COMMENT= Compile regular expression to C (much faster final code than flex) +OPTIONS_DEFINE= DOCS EXAMPLES + GNU_CONFIGURE= yes MAN1= re2c.1 +PLIST_FILES= bin/re2c +PORTDOCS= * +PORTEXAMPLES= * + +.include post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${CP} -R ${WRKSRC}/doc/* ${DOCSDIR} +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${DOCSDIR}/ + cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${DOCSDIR}/ .endif -.if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} - ${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR} +.if ${PORT_OPTIONS:MEXAMPLES} + ${MKDIR} ${EXAMPLESDIR}/ + cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR}/ .endif .include Modified: head/devel/re2c/distinfo ============================================================================== --- head/devel/re2c/distinfo Sat Sep 7 19:49:41 2013 (r326683) +++ head/devel/re2c/distinfo Sat Sep 7 20:42:39 2013 (r326684) @@ -1,2 +1,2 @@ -SHA256 (re2c-0.13.5.tar.gz) = f3a995139af475e80a30207d02728b1e0065b0caade7375e974cb1b14861668c -SIZE (re2c-0.13.5.tar.gz) = 782725 +SHA256 (re2c-0.13.6.tar.gz) = 8e463039aa8799a2957bfc00c9936232bb63b4fcb24d6ea6316170a67e5076c0 +SIZE (re2c-0.13.6.tar.gz) = 844623