Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Nov 2009 12:08:15 +0200
From:      "Sergey V. Dyatko" <sergey.dyatko@gmail.com>
To:        Rainer Hurling <rhurlin@gwdg.de>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Question about creating a port for saga gis
Message-ID:  <20091113120815.1054d18a@tiger.minsk.domain>
In-Reply-To: <4AFD2B5F.3070304@gwdg.de>
References:  <4AFD2B5F.3070304@gwdg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
В Fri, 13 Nov 2009 10:48:15 +0100
Rainer Hurling <rhurlin@gwdg.de> пишет:

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091113120815.1054d18a>