From owner-freebsd-ports@FreeBSD.ORG Thu Oct 23 01:44:28 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE7E516A4B3 for ; Thu, 23 Oct 2003 01:44:28 -0700 (PDT) Received: from haha.debank.tv (c92069.upc-c.chello.nl [212.187.92.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id 128CB43FA3 for ; Thu, 23 Oct 2003 01:44:27 -0700 (PDT) (envelope-from rob@debank.tv) Received: from debank.tv (X-server.debank.tv [192.168.1.69]) by haha.debank.tv (8.12.9p2/8.12.9) with ESMTP id h9N8iNR2067425; Thu, 23 Oct 2003 10:44:23 +0200 (CEST) (envelope-from rob@debank.tv) Message-ID: <3F9794E8.8030203@debank.tv> Date: Thu, 23 Oct 2003 10:44:24 +0200 From: Rob Evers User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031018 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: osa@freebsd.org.ru References: <3F978D78.30404@debank.tv> <20031023082016.GZ39789@freebsd.org.ru> In-Reply-To: <20031023082016.GZ39789@freebsd.org.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new cc: freebsd-ports@freebsd.org Subject: Re: strange url X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2003 08:44:28 -0000 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 >># >># >> >>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 >>-------------------------------------------------------------------------------------------------------- >> >>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.