Date: Sat, 7 Sep 2013 20:42:39 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r326684 - head/devel/re2c Message-ID: <201309072042.r87KgdFB068638@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <gasol.wu@gmail.com> Approved by: Corey Halpin <chalpin@cs.wisc.edu> (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 <eivind@FreeBSD.org> -# +# Created by: Eivind Eklund <eivind@FreeBSD.org> # $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 <bsd.port.options.mk> 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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309072042.r87KgdFB068638>