ports/126273: [ports] Utilize MASTER_SITES abbreviations.
Sunpoet Po-Chuan Hsieh
sunpoet at sunpoet.net
Thu Aug 7 03:40:03 UTC 2008
The following reply was made to PR ports/126273; it has been noted by GNATS.
From: Sunpoet Po-Chuan Hsieh <sunpoet at sunpoet.net>
To: Felippe de Meirelles Motta <lippe at FreeBSD.org>
Cc: bug-followup at FreeBSD.org
Subject: Re: ports/126273: [ports] Utilize MASTER_SITES abbreviations.
Date: Thu, 7 Aug 2008 11:30:10 +0800
Hi Felippe,
Thanks for your advisory. I have made a further-optimized patch at
http://sunpoet.net/FreeBSD/diff.MASTER_SITES_ABBREVS2.
Please take a look on it. Thanks in advance.
BR,
Sunpoet.
On Tue, Aug 05, 2008 at 02:15:00PM -0300, Felippe de Meirelles Motta wrote:
> Hi Sunpoet,
>
> I take a look on your patch, its ok, but you can optimize it still more.
>
> Well ... look some examples:
>
> --- /usr/ports/accessibility/py-papi/Makefile 2008-08-04
> 10:27:22.000000000 +0800
> +++ /tmp/ports/accessibility/py-papi/Makefile 2008-08-04
> 14:36:55.000000000 +0800
> CATEGORIES= accessibility devel python
> -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
> +MASTER_SITES= SF
> MASTER_SITE_SUBDIR= ocemp
>
> You can change it to:
>
> -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
> -MASTER_SITE_SUBDIR= ocemp
> +MASTER_SITES= SF/ocemp
>
> Other example:
>
> --- /usr/ports/archivers/arc/Makefile 2008-04-08
> 17:01:03.000000000 +0800 +++ /tmp/ports/archivers/arc/Makefile
> 2008-08-04 14:36:56.000000000 +0800 @@ -9,7 +9,7 @@
> PORTVERSION= 5.21o
> PORTREVISION= 1
> CATEGORIES= archivers
> -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
> +MASTER_SITES= SF
> MASTER_SITE_SUBDIR= ${PORTNAME}
>
> How SF macro already use PORTNAME after MASTER_SITE_SOURCEFORGE, you can
> change it to:
>
> --- /usr/ports/archivers/arc/Makefile 2008-04-08
> 17:01:03.000000000 +0800 +++ /tmp/ports/archivers/arc/Makefile
> 2008-08-04 14:36:56.000000000 +0800 @@ -9,7 +9,7 @@
> CATEGORIES= archivers
> -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
> -MASTER_SITE_SUBDIR= ${PORTNAME}
> +MASTER_SITES= SF
>
> Good luck and thank you by your contribution to the FreeBSD Project! :)
>
> --
> lippe at FreeBSD.org
> Felippe de Meirelles Motta
--
Sunpoet Po-Chuan Hsieh <sunpoet at sunpoet.net>
More information about the freebsd-ports-bugs
mailing list