Date: Thu, 7 Aug 2008 03:40:02 GMT From: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/126273: [ports] Utilize MASTER_SITES abbreviations. Message-ID: <200808070340.m773e21L011748@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/126273; it has been noted by GNATS. From: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net> To: Felippe de Meirelles Motta <lippe@FreeBSD.org> Cc: bug-followup@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@FreeBSD.org > Felippe de Meirelles Motta -- Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808070340.m773e21L011748>