Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Oct 2003 10:44:24 +0200
From:      Rob Evers <rob@debank.tv>
To:        osa@freebsd.org.ru
Cc:        freebsd-ports@freebsd.org
Subject:   Re: strange url
Message-ID:  <3F9794E8.8030203@debank.tv>
In-Reply-To: <20031023082016.GZ39789@freebsd.org.ru>
References:  <3F978D78.30404@debank.tv> <20031023082016.GZ39789@freebsd.org.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Sergey A. Osokin wrote:

>On Thu, Oct 23, 2003 at 10:12:40AM +0200, Rob Evers wrote:
>  
>
>>Hi all,
>>
>>I'm trying to make a port for postfixadmin, but I've bumped into a 
>>little problem, the download url is: 
>>http://high5.net/postfixadmin/download.php?file=postfixadmin-1.5.4.tgz
>>
>>This is what I've done: (I know it's no finished yet)
>>---------------------------------------------------------------------------------------------------
>># New ports collection makefile for:    postfixadmin
>># Date created:                         23 October 2003
>># Whom:                                 Rob Evers <rob@debank.tv>
>>#
>>#
>>
>>PORTNAME=       postfixadmin
>>PORTVERSION=    1.5.4
>>CATEGORIES=     mail
>>MASTER_SITES=   http://high5.net/postfixadmin/download.php?file=
>>EXTRACT_SUFX=   .tgz
>>
>>MAINTAINER=     rob@debank.tv
>>COMMENT=        PHP frontend to postfix and mySQL
>>
>>NO_BUILD=       yes
>>
>>.include <bsd.port.mk>
>>--------------------------------------------------------------------------------------------------------
>>
>>It downloads fine but leaves the file 
>>'download.php\?file=postfixadmin-1.5.4.tgz' in /usr/ports/distfile 
>>instead of (ofcourse) 'postfixadmin-1.5.4.tgz'. Is there a easy way 
>>around this or do I need to mirror this file in a differen location 
>>(without the php'ized url).
>>    
>>
> 
>Hm, try to play with FETCH_BEFORE_ARGS/FETCH_AFTER_ARGS.
>
>  
>
Thanks, that did the trick

Rob Evers.



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