From owner-freebsd-ports@FreeBSD.ORG Thu Oct 23 01:20:22 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 CEE0216A4B3 for ; Thu, 23 Oct 2003 01:20:22 -0700 (PDT) Received: from freebsd.org.ru (www.freebsd.org.ru [194.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id D449143F3F for ; Thu, 23 Oct 2003 01:20:21 -0700 (PDT) (envelope-from osa@freebsd.org.ru) Received: by freebsd.org.ru (Postfix, from userid 1000) id 58062315; Thu, 23 Oct 2003 12:20:16 +0400 (MSD) Date: Thu, 23 Oct 2003 12:20:16 +0400 From: "Sergey A. Osokin" To: Rob Evers Message-ID: <20031023082016.GZ39789@freebsd.org.ru> References: <3F978D78.30404@debank.tv> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F978D78.30404@debank.tv> User-Agent: Mutt/1.5.4i cc: freebsd-ports@freebsd.org Subject: Re: strange url X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: osa@FreeBSD.org.ru 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:20:22 -0000 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. -- Rgdz, /"\ ASCII RIBBON CAMPAIGN Sergey Osokin aka oZZ, \ / AGAINST HTML MAIL http://ozz.pp.ru/ X AND NEWS / \