Date: Thu, 20 Aug 2009 00:08:04 -0400 From: "Philip M. Gollucci" <pgollucci@p6m7g8.com> To: Dmitry Marakasov <amdmi3@amdmi3.ru> Cc: freebsd-ports@freebsd.org, portmgr@freebsd.org Subject: Re: Migration to new SourceForge url scheme now inevitable, solution Message-ID: <4A8CCC24.8050605@p6m7g8.com> In-Reply-To: <20090820023314.GF1295@hades.panopticon> References: <20090820023314.GF1295@hades.panopticon>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A8CCC24.8050605>