From owner-freebsd-ports@freebsd.org Fri Apr 20 07:12:21 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 70BB7FAC7C9 for ; Fri, 20 Apr 2018 07:12:21 +0000 (UTC) (envelope-from bsdkaffee@gmail.com) Received: from mail-ua0-x22a.google.com (mail-ua0-x22a.google.com [IPv6:2607:f8b0:400c:c08::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0BACC7D5B8 for ; Fri, 20 Apr 2018 07:12:21 +0000 (UTC) (envelope-from bsdkaffee@gmail.com) Received: by mail-ua0-x22a.google.com with SMTP id v4so5096158uaj.3 for ; Fri, 20 Apr 2018 00:12:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=y6q4xUCdN9M7ASmnhwnILgnKTUIellwlsr6uHE3rmPA=; b=lFFrwlOwo5PWlYiomsg6STeL9PJ8LyLZEE9mrPrVDeAERhdBs2UfLMAbmzTICBGnD0 YYveaS38YPtCOZ44WVY4O6DcRBjuHRpSes19bBi784S9mQYVdH8rlXvayrfsQ/VfggGP E18LgNPIa1910ElZvhZewjHDgbiuMaE9KNUQy7WXXAqaERLJLBsLTLvc65kSkfQ1Zk6u T1ldXdMmVsYaii83OTc0d8vMVPpM9iWAOGJ47y8twQ84HMqbYYaVEKv3mMNy3AYg02LE ulHKaLp2uwsWOSARIAlKHyLU/6DTFvUPk7rLAIlLZdle1DPPxSx39oC0R8OLQxMM7ZO3 prFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=y6q4xUCdN9M7ASmnhwnILgnKTUIellwlsr6uHE3rmPA=; b=pgVIf09agY29qg72nP1n+cZt1F2W/LMaIVF2HWqn1r3kvOFfRoh30f2AgTC3Rp56lJ yrJpFquqC3l/x9ijw9Yckdfouk+LkDuo37cOSX1eWewLkm2euly5sRcrd+w082nNKezz OImYY2Gxb/cPj1+kY88OqS2KijNfT6T269VXZsSPDTtnc4uuU7hsAhDDk9j38sX1HkQd 5H43U0AueQtbUBoLCo526y//5kg4hLpqRzXlcTKT/Ox4+bPgQ8efAiqz9K80hazn/Dgo cEebUdZfLZCjO9zdzGf2yXL1a3BWBS93fhwy/WzkRecdwO/juUKa6U60by29//iXtLPL NL7Q== X-Gm-Message-State: ALQs6tAvtVZr+LiQfZ/F8JSf0Rq2LTRjaG5hBpj4XBPCF3dTmB2SlnzF S+2TW2z90kAYtq4H71UUk1qHbeA3pP3FlZgj6iwe6Q== X-Google-Smtp-Source: AIpwx4/8ydTY/nsxikzkheR/tDoOIMuSXfdb8Mk0CmbgR6OnbLYj8EYGrGnouXPBMwFp/CjY3L+tC+G8sqhkb3UgknI= X-Received: by 10.176.82.50 with SMTP id i47mr6978185uaa.12.1524208340374; Fri, 20 Apr 2018 00:12:20 -0700 (PDT) MIME-Version: 1.0 Sender: bsdkaffee@gmail.com Received: by 10.31.48.151 with HTTP; Fri, 20 Apr 2018 00:12:19 -0700 (PDT) In-Reply-To: References: From: "Jason E. Hale" Date: Fri, 20 Apr 2018 03:12:19 -0400 X-Google-Sender-Auth: ONOyErsjh-wa3cc2UFs1mlPEBmY Message-ID: Subject: Re: How to get -RC2 is tarball name? To: freebsd@dreamchaser.org Cc: FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2018 07:12:21 -0000 On Fri, Apr 20, 2018 at 1:48 AM, Gary Aitken wrote: > I'm trying to fetch: > https://download.gimp.org/mirror/pub/gimp/v2.10/gimp-2.10.0-RC2.tar.bz2 > Both the RC2 and the bz2 are giving me problems. > I've tried every combination I can think of and can't seem to get the > right thing. In order to get the -RC2 I had to resort to: > > PORTNAME?= gimp-devel-app > DISTVERSION= 2.10.0 > GIMPVERSION= RC2 > DISTNAME= gimp-${DISTVERSION}-${GIMPVERSION} > MASTER_SITES= https://download.gimp.org/mirror/pub/gimp/v2.10/ > > but that asks for .../v2.10/gimp-2.10.0-RC2.tar.gz > tacking the .tar.bz2 on the end of DISTNAME doesn't help. > > I know this totally ignores all the other directives about > MASTER_SITES= GIMP > and recommendations for PORT/DIST NAME and VERSION, but I can't get > any other combination to get even this far. > > Is there a way to get the portname "gimp-devel-app" truncated to "gimp" > with some operator X in ${PORTNAME:X}? I didn't see them described in > the handbook. > > Is there a variable I can override for the tar.bz2 part? > > Thanks, > Gary Based on the graphics/gimp-app port currently in the ports tree, here is what you should do: Index: Makefile =================================================================== --- Makefile (revision 467811) +++ Makefile (working copy) @@ -2,12 +2,11 @@ # $FreeBSD$ PORTNAME?= gimp-app -PORTVERSION= 2.8.22 -PORTREVISION= 1 +DISTVERSION= 2.10.0-RC2 PORTEPOCH?= 1 CATEGORIES?= graphics gnome -MASTER_SITES= GIMP/gimp/v${PORTVERSION:R} -DISTNAME= gimp-${PORTVERSION} +MASTER_SITES= GIMP/gimp/v${PORTVERSION:R:R} +DISTNAME= gimp-${DISTVERSION} MAINTAINER= gnome@FreeBSD.org COMMENT= GNU Image Manipulation Program