Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Apr 2018 08:37:59 -0600
From:      Gary Aitken <freebsd@dreamchaser.org>
To:        "Jason E. Hale" <jhale@freebsd.org>
Cc:        FreeBSD Mailing List <freebsd-ports@freebsd.org>, yasu@utahime.org
Subject:   Re: How to get -RC2 is tarball name?
Message-ID:  <399d69a8-a53f-986d-5f52-31919e7871f2@dreamchaser.org>
In-Reply-To: <CAJE75NGWQnD2zWq6H0PvGKHzV_NcmPTedg5gZ4RcpN%2BbTHyzNA@mail.gmail.com>
References:  <d6e0dbb3-b912-9377-b9b1-cd1cea54587b@dreamchaser.org> <CAJE75NGWQnD2zWq6H0PvGKHzV_NcmPTedg5gZ4RcpN%2BbTHyzNA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 04/20/18 00:01, Yasuhiro KIMURA wrote:
> From: Gary Aitken <freebsd@dreamchaser.org>
> Subject: How to get -RC2 is tarball name?
> Date: Thu, 19 Apr 2018 23:48:24 -0600
> 
>> 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.
> 
> Add 'USES=tar:bzip2' to Makefile. It changes EXTRACT_SUFX to
> '.tar.bz2'.

On 04/20/18 01:12, Jason E. Hale wrote:
> 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

Thanks both of you for the comments, needed both.

Gary



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?399d69a8-a53f-986d-5f52-31919e7871f2>