From owner-freebsd-ports@FreeBSD.ORG Sun Feb 14 03:36:30 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75492106566C for ; Sun, 14 Feb 2010 03:36:30 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [92.53.116.15]) by mx1.freebsd.org (Postfix) with ESMTP id 2FB308FC12 for ; Sun, 14 Feb 2010 03:36:29 +0000 (UTC) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1NgVHH-0002Sz-V3; Sun, 14 Feb 2010 06:36:11 +0300 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 866D0B860; Sun, 14 Feb 2010 06:36:27 +0300 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id 81736B829; Sun, 14 Feb 2010 06:36:27 +0300 (MSK) Date: Sun, 14 Feb 2010 06:36:27 +0300 From: Dmitry Marakasov To: CeDeROM Message-ID: <20100214033627.GI1538@hades.panopticon> References: <3fcfb0ba1002131315o504bc12bw83df19461b2abd17@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <3fcfb0ba1002131315o504bc12bw83df19461b2abd17@mail.gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-ports@freebsd.org Subject: Re: RC1 suffix in PORTVERSION 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: Sun, 14 Feb 2010 03:36:30 -0000 * CeDeROM (tomek.cedro@gmail.com) wrote: > I am trying to create a helper local port for testing RC1 version of a > program that will soon have stable port update. Unfortunately the > package is named "openocd-0.4.0-rc1.tar.gz" and I dont know how to > construct a variable containing this "-RC1" suffix. You can use DISTVERSION=0.4.0-rc1 instead of PORTVERSION. + you won't have to redefine DISTNAME, as DISTVERSION is substituded there directly + legal PORTVERSION will be constructed for you (that'll be 0.4.0.r1), and the nicest thing is that 0.4.0.r1 < 0.4.0, thus when you update the port to release, you won't need to bump PORTEPOCH. -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru