From owner-freebsd-ports@FreeBSD.ORG Tue May 11 02:52:38 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BF740106564A for ; Tue, 11 May 2010 02:52:37 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from spartan.hamla.org (spartan.hamla.org [206.251.255.30]) by mx1.freebsd.org (Postfix) with ESMTP id 9C18A8FC15 for ; Tue, 11 May 2010 02:52:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by spartan.hamla.org (Postfix) with ESMTP id 4A8A017102 for ; Mon, 10 May 2010 22:52:37 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tandon.net; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:reply-to:message-id :subject:subject:from:from:date:date:received:received; s=aegis; t=1273546357; bh=ucE5+EEikZ8ijGz5Is6z2a+nsNy1Xl1241emGCAON1I=; b= BOG0FhJ72zJS0Ijh94wgcq1XS+jiZVwNetdgTLBm39c86DMBQyPGxU/GLSVoO253 A1Gzu2lNBzURrHYq3cXwhjQV5qIkJ/pkS8EcMH0h3GXdalRdn5mIGdHD6Af6rhnw 5WtW6C+Sj+Y44sSXloXQAVyNzHjlwon+Vtg4VuUZv2w= X-Virus-Scanned: by ClamAV at spartan.hamla.org Received: from spartan.hamla.org ([127.0.0.1]) by localhost (spartan.hamla.org [127.0.0.1]) (amavisd-new, port 10027) with LMTP id dY4T08JDx3ws for ; Mon, 10 May 2010 22:52:37 -0400 (EDT) Received: from magic.hamla.org (cpe-69-201-179-80.nyc.res.rr.com [69.201.179.80]) by spartan.hamla.org (Postfix) with ESMTPSA id CF5EC170F7 for ; Mon, 10 May 2010 22:52:36 -0400 (EDT) Date: Mon, 10 May 2010 22:52:34 -0400 From: Sahil Tandon To: freebsd-ports@freebsd.org Message-ID: <20100511025234.GB34736@magic.hamla.org> References: <20100511013700.GA34279@magic.hamla.org> <201005110409.22796.avilla@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201005110409.22796.avilla@freebsd.org> User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: ccache 3.0 port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-ports@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 May 2010 02:52:38 -0000 On Tue, 11 May 2010, Alberto Villa wrote: > On Tuesday 11 May 2010 03:37:01 Sahil Tandon wrote: > > Regarding portlint's FATAL output, please review Package Naming > > Conventions in the Handbook. Specifically, "If the software version has > > strings like ``alpha'', ``beta'', ``rc'', or ``pre'', take the first > > letter and put it immediately after a period." So you could try > > sometihng like: > > > > PORTVERSION= 3.0.p1 > > DISTNAME= ${PORTNAME}-${PORTVERSION:S/.p/pre/} > > DISTVERSION= 3.0pre1 > is shorter and cleaner I appreciate the brevity, but this requires adjustment with every PORTVERSION change. I prefer a solution that requires one less (albeit simple) manual step; perhaps some sed-fu in DISTVERSION if the DISTNAME example is aesthetically unpalatable. TMTOWTDI. :-) -- Sahil Tandon