Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Oct 2003 12:20:16 +0400
From:      "Sergey A. Osokin" <osa@freebsd.org.ru>
To:        Rob Evers <rob@debank.tv>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: strange url
Message-ID:  <20031023082016.GZ39789@freebsd.org.ru>
In-Reply-To: <3F978D78.30404@debank.tv>
References:  <3F978D78.30404@debank.tv>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- 

Rgdz,                        /"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,       \ /    AGAINST HTML MAIL
http://ozz.pp.ru/             X          AND NEWS
                             / \



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