From owner-freebsd-ports@FreeBSD.ORG Mon Aug 29 02:05:18 2011 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 CD6ED106566B for ; Mon, 29 Aug 2011 02:05:18 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmfepo203.cox.net (eastrmfepo203.cox.net [68.230.241.218]) by mx1.freebsd.org (Postfix) with ESMTP id 744438FC13 for ; Mon, 29 Aug 2011 02:05:18 +0000 (UTC) Received: from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmfepo203.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20110829020517.PFSP32702.eastrmfepo203.cox.net@eastrmimpo02.cox.net> for ; Sun, 28 Aug 2011 22:05:17 -0400 Received: from serene.no-ip.org ([98.164.83.25]) by eastrmimpo02.cox.net with bizsmtp id S25H1h0080YnB6A0225H7q; Sun, 28 Aug 2011 22:05:17 -0400 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020205.4E5AF3DD.00D6,ss=1,re=0.000,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=1.1 cv=ax4i8a8snyEA9uWfgWYmXW+3D+RWNhitQWxcW0Jxd9c= c=1 sm=1 a=MkVqW7lO938A:10 a=G8Uczd0VNMoA:10 a=kj9zAlcOel0A:10 a=2vO5UZG1h46htWAnE/rx2g==:17 a=FP58Ms26AAAA:8 a=kviXuzpPAAAA:8 a=Mlg-9IgK4rXLx0hf9IEA:9 a=CjuIK1q_8ugA:10 a=4vB-4DCPJfMA:10 a=KB3AhU7pfj782sz8:21 a=_11XZt6j8LsaSP-F:21 a=2vO5UZG1h46htWAnE/rx2g==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Received: from cox.net (localhost [127.0.0.1]) by serene.no-ip.org (8.14.5/8.14.5) with ESMTP id p7T25GHX090787 for ; Sun, 28 Aug 2011 21:05:16 -0500 (CDT) (envelope-from conrads@cox.net) Date: Sun, 28 Aug 2011 21:05:11 -0500 From: "Conrad J. Sabatier" To: freebsd-ports@FreeBSD.org Message-ID: <20110828210511.3d2e0604@cox.net> X-Mailer: Claws Mail 3.7.9 (GTK+ 2.24.5; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: MASTER_SITE_SOURCEFORGE: how do *you* handle it? 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: Mon, 29 Aug 2011 02:05:18 -0000 I'm wondering how other ports maintainers are dealing with their definitions of MASTER_SITES=, DISTFILES=, DISTNAME=, etc. with regards to Sourceforge. In browsing a number of projects recently on Sourceforge, I've noticed that the paths to project distfiles are now using the element "projects" rather than "project". What I'm looking for is how to declare things in a clean and elegant fashion in a port's Makefile to handle these cases, one that will hopefully not require any revisions for later upgrades. Is it necessary to just scrap the "SF" definition entirely and hardcode the URL? In addition, I've run across a few projects that use slightly differing versions of the project name, either somewhere in the path or for the distfile name itself. For example, looking at the "scidvspc" project earlier today, I noticed this: The link for the distfile is defined as: http://sourceforge.net/projects/scidvspc/files/source/scid_vs_pc-4.5.tgz/download Clicking the download link, one is presented with alternatives in case the download doesn't start automatically. The "mirror" link: https://sourceforge.net/settings/mirror_choices?projectname=scidvspc&filename=source/scid_vs_pc-4.5.tgz The "direct link": https://downloads.sourceforge.net/project/scidvspc/source/scid_vs_pc-4.5.tgz?r=&ts=1314582468&use_mirror=superb-sea2 Frankly, I'm baffled as to how our current definition of "MASTER_SITES=SF/" is supposed to handle all of this. Can anyone point me towards a source of enlightenment? :-) Thanks! -- Conrad J. Sabatier conrads@cox.net