How to get -RC2 is tarball name?
Gary Aitken
freebsd at dreamchaser.org
Fri Apr 20 14:38:45 UTC 2018
On 04/20/18 00:01, Yasuhiro KIMURA wrote:
> From: Gary Aitken <freebsd at 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 at FreeBSD.org
> COMMENT= GNU Image Manipulation Program
Thanks both of you for the comments, needed both.
Gary
More information about the freebsd-ports
mailing list