From owner-svn-ports-all@freebsd.org Mon Jan 23 19:25:09 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7E23ACBE0BD; Mon, 23 Jan 2017 19:25:09 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from mail.madpilot.net (grunt.madpilot.net [78.47.145.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46EA317D2; Mon, 23 Jan 2017 19:25:08 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from mail (mail [192.168.254.3]) by mail.madpilot.net (Postfix) with ESMTP id 3v6h8r4ccTzb3W; Mon, 23 Jan 2017 20:25:00 +0100 (CET) Received: from mail.madpilot.net ([192.168.254.3]) by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10024) with ESMTP id jcIvJ-npnXQd; Mon, 23 Jan 2017 20:24:58 +0100 (CET) Received: from tommy.madpilot.net (micro.madpilot.net [88.149.173.206]) by mail.madpilot.net (Postfix) with ESMTPSA; Mon, 23 Jan 2017 20:24:58 +0100 (CET) Subject: Re: svn commit: r432224 - in head/devel/fossil: . files To: Mathieu Arnold , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org References: <201701231419.v0NEJGTa048771@repo.freebsd.org> From: Guido Falsi Message-ID: Date: Mon, 23 Jan 2017 20:24:58 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 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, 23 Jan 2017 19:25:09 -0000 On 01/23/17 18:24, Mathieu Arnold wrote: > Le 23/01/2017 à 15:19, Guido Falsi a écrit : >> -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} >> +WRKSRC= ${WRKDIR}/${PORTNAME:C/^(.).*/\1/:tu}${PORTNAME:C/^.(.*)/\1/}_2017-01-16_205854_1669115ab9 > > > Took me a while to understand what this was doing, and that it seems it > now takes 51 chars to write "Fossil" :-) > I wanted to base it on PORTNAME and could not find an easier way to explain it to make. Maybe just hardcoding "Fossil" was more reasonable. -- Guido Falsi