From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Aug 7 03:40:03 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3059C1065675 for ; Thu, 7 Aug 2008 03:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1DBE08FC23 for ; Thu, 7 Aug 2008 03:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m773e2fh011749 for ; Thu, 7 Aug 2008 03:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m773e21L011748; Thu, 7 Aug 2008 03:40:02 GMT (envelope-from gnats) Date: Thu, 7 Aug 2008 03:40:02 GMT Message-Id: <200808070340.m773e21L011748@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Sunpoet Po-Chuan Hsieh Cc: Subject: Re: ports/126273: [ports] Utilize MASTER_SITES abbreviations. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Sunpoet Po-Chuan Hsieh List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2008 03:40:03 -0000 The following reply was made to PR ports/126273; it has been noted by GNATS. From: Sunpoet Po-Chuan Hsieh To: Felippe de Meirelles Motta 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