From owner-freebsd-ports@FreeBSD.ORG Sun Feb 14 00:57:17 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 1D9D61065670 for ; Sun, 14 Feb 2010 00:57:17 +0000 (UTC) (envelope-from fernan.aguero@gmail.com) Received: from mail-pz0-f184.google.com (mail-pz0-f184.google.com [209.85.222.184]) by mx1.freebsd.org (Postfix) with ESMTP id E8ABF8FC08 for ; Sun, 14 Feb 2010 00:57:16 +0000 (UTC) Received: by pzk14 with SMTP id 14so4303870pzk.3 for ; Sat, 13 Feb 2010 16:57:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=qbzBfb0lt1teOJuF4fufESd8QjTxKN/9n2XywcbyZXE=; b=lYVsdNu4Nndr3QnP163o8BmWkvtttlPB5cxzx1t4y1KU7t7j2+JuTktOYwy/rhLWKD tlyO5wyfWHBDx4tmuNNEbFGkIGlHwpr+TafRvOmkyjT1VLgV4fceJy4alSm/qs7puiGl ERUCau+qcTHgz5XBTf1cLDA8pAfncErI+PvM4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=vorho9vRov64OrAtHNo7xi1VgAW3HdybpoxqCeO3IKlvq85XQcU3B/oJOlgYvGhdyE pljXB93yNoZSOlFLwWJdYUZFhZW1oWZmaGLzjPYpXu/w/jDBuuJFN12gu0ImCHo30iQA 63c4Za9jeeXVljQ9w6cpYWzFM5oz359D7Ldwo= MIME-Version: 1.0 Received: by 10.143.154.11 with SMTP id g11mr2217929wfo.271.1266109036086; Sat, 13 Feb 2010 16:57:16 -0800 (PST) In-Reply-To: <3fcfb0ba1002131315o504bc12bw83df19461b2abd17@mail.gmail.com> References: <3fcfb0ba1002131315o504bc12bw83df19461b2abd17@mail.gmail.com> From: Fernan Aguero Date: Sat, 13 Feb 2010 21:56:56 -0300 Message-ID: <520894aa1002131656j5df4c39fnb1a1843a1851fc17@mail.gmail.com> To: CeDeROM Content-Type: text/plain; charset=ISO-8859-1 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 00:57:17 -0000 On Sat, Feb 13, 2010 at 6:15 PM, CeDeROM wrote: > Hello! > > 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. > > Please advise, > Tomek Cedro Hi Tomek, try this (untested) PORTNAME= openocd PORTVERSION= 0.4.0 and then either DISTNAME= ${DISTNAME}-rc1 or DISTFILES= ${PORTNAME}-${PORTVERSION}-rc1${EXTRACT_SUFX} info on these variables can be read from /usr/ports/Mk/bsd.port.mk Good luck! -- fernan