From owner-freebsd-ports@FreeBSD.ORG Thu Jun 30 09:50:33 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 90095106564A; Thu, 30 Jun 2011 09:50:33 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id B49C18FC23; Thu, 30 Jun 2011 09:50:32 +0000 (UTC) Received: by wyg24 with SMTP id 24so1945576wyg.13 for ; Thu, 30 Jun 2011 02:50:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=X3ad98QrXFTMbm0RsZqUi3ZotwpRaWjEZ3tDLSpqYeE=; b=JuSF6PYohoFnYLznjdrh2EcS4GSrkbDbB1uDyLRw5Pog1JHXKvkCIo4vxyTYKLyGuF xBt/2hv1PrLtHEc133Pqb1sWw7+IiLn8oLun6pOKN8ip0TPPyFBmiNG2jsvWSg366cN4 yWFSzqgGuT/kDyR+3WgcX/RVwaFqc/OXOF58E= Received: by 10.227.201.144 with SMTP id fa16mr1636264wbb.19.1309427431620; Thu, 30 Jun 2011 02:50:31 -0700 (PDT) Received: from Melon.malikania.fr (65.21.102.84.rev.sfr.net [84.102.21.65]) by mx.google.com with ESMTPS id fp5sm274886wbb.49.2011.06.30.02.50.30 (version=SSLv3 cipher=OTHER); Thu, 30 Jun 2011 02:50:30 -0700 (PDT) Message-ID: <4E0C46CB.10801@gmail.com> Date: Thu, 30 Jun 2011 11:50:03 +0200 From: David Demelier User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.18) Gecko/20110627 Thunderbird/3.1.11 MIME-Version: 1.0 To: Chris Rees References: <4E0C406E.80500@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: Dealing with sourceforge master dir 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, 30 Jun 2011 09:50:33 -0000 On 30/06/2011 11:41, Chris Rees wrote: > On 30 June 2011 10:22, David Demelier wrote: >> Hello, >> >> I'm trying to write a new port for the tiled application. It is hosted by >> sourceforge as you can see here : >> >> http://sourceforge.net/projects/tiled/ >> >> But the download fails since the distfile is not in the usual directories : >> >> => Attempting to fetch >> http://kent.dl.sourceforge.net/project/tiled/tiled/0.6.2/tiled-qt-0.6.2.tar.gz >> ... >> >> PORTNAME= tiled >> PORTVERSION= 0.6.2 >> CATEGORIES= devel >> DISTFILES= ${PORTNAME}-qt-${PORTVERSION}.tar.gz >> MASTER_SITE= SF >> >> This is the correct download page : >> >> http://sourceforge.net/projects/tiled/files/tiled-qt/0.6.2/tiled-qt-0.6.2.tar.gz/download >> >> How can I correct it? > > Try MASTER_SITES= SF/tiled/files/tiled-qt/0.6.2/ > > By the way, did you copy/paste this out of your Makefile? It should be > MASTER_SITES plural. > > Chris It was my fault when I recopied the content of Makefile but it was in plural. Your MASTER_SITES variable seems to locate correctly the file => Attempting to fetch http://waix.dl.sourceforge.net/project/tiled/files/tiled-qt/0.6.2/tiled-qt-0.6.2.tar.gz But it ends on Moved temporarly... => Attempting to fetch http://ufpr.dl.sourceforge.net/project/tiled/files/tiled-qt/0.6.2/tiled-qt-0.6.2.tar.gz fetch: http://ufpr.dl.sourceforge.net/project/tiled/files/tiled-qt/0.6.2/tiled-qt-0.6.2.tar.gz: Moved Temporarily => Attempting to fetch http://waix.dl.sourceforge.net/project/tiled/files/tiled-qt/0.6.2/tiled-qt-0.6.2.tar.gz fetch: http://waix.dl.sourceforge.net/project/tiled/files/tiled-qt/0.6.2/tiled-qt-0.6.2.tar.gz: Moved Temporarily Sourceforge downloads are very annoying. -- David Demelier