From owner-freebsd-ports@FreeBSD.ORG Tue May 11 14:31:56 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 11EDD106566B for ; Tue, 11 May 2010 14:31:56 +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 E239D8FC1A for ; Tue, 11 May 2010 14:31:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by spartan.hamla.org (Postfix) with ESMTP id 992B5170F9 for ; Tue, 11 May 2010 10:31:54 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tandon.net; h= references:date:date:subject:subject:mime-version:x-mailer :content-transfer-encoding:content-type:content-type:in-reply-to :from:from:message-id:received:received; s=aegis; t=1273588314; bh=9tDJZykV2OpstzhdKz33wfpixLgsCywGXJP6wsR5tyw=; b=tNVEny5L3nal 5470BunP7DVCqIKy0FjWJfRFy9AecWAWzSPY25+0P313KDgRsm0tXkwL/68a99X+ QA+FsatTJb9vnTgZPUGI7DdEosf7rb0aAT5NgK8Rtww8Q0122cpmewCyzsXqK3f3 8zUTnG53Yi1BLU9YXnKepz7zpn0Uvoc= 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 p0xsiWXyqMpR for ; Tue, 11 May 2010 10:31:54 -0400 (EDT) Received: from [10.52.232.78] (mobile-166-137-138-124.mycingular.net [166.137.138.124]) by spartan.hamla.org (Postfix) with ESMTPSA id AD9C117045 for ; Tue, 11 May 2010 10:31:53 -0400 (EDT) Message-Id: From: Sahil Tandon To: "freebsd-ports@FreeBSD.org" In-Reply-To: <20100511025234.GB34736@magic.hamla.org> Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Mailer: iPhone Mail (7E18) Mime-Version: 1.0 (iPhone Mail 7E18) Date: Tue, 11 May 2010 10:31:46 -0400 References: <20100511013700.GA34279@magic.hamla.org> <201005110409.22796.avilla@freebsd.org> <20100511025234.GB34736@magic.hamla.org> Cc: Subject: Re: ccache 3.0 port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 May 2010 14:31:56 -0000 On May 10, 2010, at 10:52 PM, Sahil Tandon wrote: > 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. :-) Actually, after thinking about this some more, avilla@'s DISTVERSION tweak is more elegant and gives us the same end result with less fiddling. Stick with that and sorry for the noise! -- Sahil Tandon