From owner-freebsd-ports@FreeBSD.ORG Thu Aug 20 04:08:09 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BB06106564A; Thu, 20 Aug 2009 04:08:09 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: from exhub015-2.exch015.msoutlookonline.net (exhub015-2.exch015.msoutlookonline.net [207.5.72.94]) by mx1.freebsd.org (Postfix) with ESMTP id 699BD8FC43; Thu, 20 Aug 2009 04:08:08 +0000 (UTC) Received: from [172.28.1.201] (98.141.235.114) by smtpx15.msoutlookonline.net (207.5.72.103) with Microsoft SMTP Server (TLS) id 8.1.375.2; Wed, 19 Aug 2009 21:08:08 -0700 Message-ID: <4A8CCC24.8050605@p6m7g8.com> Date: Thu, 20 Aug 2009 00:08:04 -0400 From: "Philip M. Gollucci" Organization: P6 Web Applications User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: Dmitry Marakasov References: <20090820023314.GF1295@hades.panopticon> In-Reply-To: <20090820023314.GF1295@hades.panopticon> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org, portmgr@freebsd.org Subject: Re: Migration to new SourceForge url scheme now inevitable, solution X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Aug 2009 04:08:09 -0000 Dmitry Marakasov wrote: > [1] http://people.freebsd.org/~amdmi3/sf.pl.txt Awesome. Rewriting this: my $portname = `make -VPORTNAME`; chomp $portname; my $portname_lc = lc($portname); my $portversion = `make -VPORTVERSION`; chomp $portversion; Like this, will help substantially by reducing make spawns by 1/2, you'll notice the ports tinderbox code does this too :) my @lines = lc `make -V PORTNAME -V PORTVERSION`; my $portname = $lines[0]; chomp $portname; my $portversion = $lines[1]; chomp $portversion; (untested) > [2] http://people.freebsd.org/~amdmi3/sourceforge-subdirs.txt > [3] http://people.freebsd.org/~amdmi3/sourceforge-subdirs-top.txt -- ------------------------------------------------------------------------ 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354 Consultant - P6M7G8 Inc. http://p6m7g8.net Senior Sys Admin - RideCharge, Inc. http://ridecharge.com ASF Member - Apache Software Foundation http://apache.org FreeBSD Committer - FreeBSD Foundation http://freebsd.org Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching.