From owner-freebsd-ports@FreeBSD.ORG Thu Apr 27 15:27:41 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A5F416A406 for ; Thu, 27 Apr 2006 15:27:41 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F15143D49 for ; Thu, 27 Apr 2006 15:27:40 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: by nz-out-0102.google.com with SMTP id i28so1683211nzi for ; Thu, 27 Apr 2006 08:27:39 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jRNdRdLsSUDTSRjU0BlMENbHZbSukHNhepNUK1I5nYpxkshrCJXwwJwapidO9C+PkqEwJhhP1lYU7BE9LVuG8j0ZvG6zOwzIV4ujb7/NMEJnkTooLmjPrRu2rdhbl6sqBBqNIYfKo2NKlrJG7iKUg1Z/p+9IDJ5da7UvIHl5Bkk= Received: by 10.37.13.50 with SMTP id q50mr1518217nzi; Thu, 27 Apr 2006 08:27:38 -0700 (PDT) Received: by 10.37.22.74 with HTTP; Thu, 27 Apr 2006 08:27:38 -0700 (PDT) Message-ID: Date: Thu, 27 Apr 2006 19:27:38 +0400 From: "Andrew Pantyukhin" To: "Sam Lawrance" In-Reply-To: <127FEBDA-4446-47DB-B6CA-4AB6A5CE8562@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <127FEBDA-4446-47DB-B6CA-4AB6A5CE8562@FreeBSD.org> Cc: FreeBSD Ports Subject: Re: sourceforge subdir default 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, 27 Apr 2006 15:27:41 -0000 On 2/18/06, Sam Lawrance wrote: > > On 18/02/2006, at 8:12 PM, Andrew Pantyukhin wrote: > > > I wonder if we can set MASTER_SITE_SUBDIR to > > PORTNAME by default when MASTER_SITES is > > equal to MASTER_SITE_SOURCEFORGE or > > M_S_SF_EXTENDED? We don't have to take care > > of ':whatever', just handle the simplest case - and > > it will save hundreds of lines. > > How? Okay, I wonder if we can set M_S_SUBDIR to PORTNAME by default no matter what MASTER_SITES we have. I mean if there's a %SUBDIR% to replace, PORTNAME seems to be a reasonable default value, doesn't it? It can be done in bpm just before the first reference to M_S_SUBDIR