From owner-freebsd-ports@FreeBSD.ORG Fri Nov 13 10:08:22 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 1ACA71065670 for ; Fri, 13 Nov 2009 10:08:22 +0000 (UTC) (envelope-from sergey.dyatko@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by mx1.freebsd.org (Postfix) with ESMTP id 9E8A68FC0A for ; Fri, 13 Nov 2009 10:08:21 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id d23so1204419fga.13 for ; Fri, 13 Nov 2009 02:08:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=/l7RwQlsTkiX9HxR3d8NLODDZcQKltIWoPslh3meDsE=; b=gxMobwbjmWkZsnhA1SYLGoGTZvBGUk17IAmK/uram6/NokZYuidx8WQm0KUZgNdDZz gfvtjzolgTaG8/tr8UbahLufUHajV8t+CX5AhHKs+pw9Dz8i0xS29e6JYHIWU8dD84O5 iBXrNTEB3vVER9dZk441OTc8ZDxHPx4h8B5Xc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=v7DVwKYGlpN6MDxo8zGCj8OD1tHxF4zRjU0Ar3TYFTgtCmov0q/mvYGH+tDwqUf7Hd uBt32vWygJZtphDX5ftLhHYKp29JH1qpYi+B+2YZWqojIqRDu7+MPOkLLDxIm3RtZYCw 2SQxE8620ukUyzOr+cdExpI8TEWApAjcNH89Q= Received: by 10.87.40.40 with SMTP id s40mr3039912fgj.74.1258106898837; Fri, 13 Nov 2009 02:08:18 -0800 (PST) Received: from tiger.minsk.domain (minsk.agava.net [212.98.174.157]) by mx.google.com with ESMTPS id d8sm725213fga.28.2009.11.13.02.08.16 (version=SSLv3 cipher=RC4-MD5); Fri, 13 Nov 2009 02:08:17 -0800 (PST) Date: Fri, 13 Nov 2009 12:08:15 +0200 From: "Sergey V. Dyatko" To: Rainer Hurling Message-ID: <20091113120815.1054d18a@tiger.minsk.domain> In-Reply-To: <4AFD2B5F.3070304@gwdg.de> References: <4AFD2B5F.3070304@gwdg.de> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit Cc: freebsd-ports@freebsd.org Subject: Re: Question about creating a port for saga gis 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: Fri, 13 Nov 2009 10:08:22 -0000 В Fri, 13 Nov 2009 10:48:15 +0100 Rainer Hurling пишет: RH> This is my first try to create a port and I may need some help. I RH> am working on porting the linux version of SAGA GIS (see RH> http://www.saga-gis.org/). RH> RH> Unfortunately I have problems to let the port fetch the distfile. I RH> tried many ways described in the porters handbook without success. RH> RH> The distfile is located at RH> RH> http://sourceforge.net/projects/saga-gis/files/SAGA%20-%202.0/SAGA%202.0.4/saga_2.0.4_src_linux.tar.gz/download RH> direct link is http://$MIRROR/project/saga-gis/SAGA%20-%202.0/SAGA%202.0.4/saga_2.0.4_src_linux.tar.gz RH> I tried for example with combinations of RH> RH> PORTNAME= saga RH> PORTVERSION= 2.0.4 RH> DISTNAME= saga_2.0.4_src_linux RH> MASTER_SITES= RH> http://sourceforge.net/projects/saga-gis/files/SAGA%20-%202.0/SAGA%202.0.4/ MASTER_SITES= SF/${PORTNAME}-gis/SAGA%20-%202.0/SAGA%20${PORTVERSION} RH> but the main problem seems to be the '/download' after the filename. RH> RH> Fetching the file by hand works but I have no clue how to describe RH> this path in the ports Makefile. RH> RH> Your help is greatly appreciated, RH> Rainer Hurling -- wbr, tiger