From owner-freebsd-ports@FreeBSD.ORG Wed Jan 12 00:36:32 2005 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 11FDA16A4CE for ; Wed, 12 Jan 2005 00:36:32 +0000 (GMT) Received: from outbound0.sv.meer.net (outbound0.sv.meer.net [205.217.152.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5B3543D53 for ; Wed, 12 Jan 2005 00:36:31 +0000 (GMT) (envelope-from jrhett@mail.meer.net) Received: from mail.meer.net (mail.meer.net [209.157.152.14]) by outbound0.sv.meer.net (8.12.10/8.12.6) with ESMTP id j0C0aVwN038278 for ; Tue, 11 Jan 2005 16:36:31 -0800 (PST) (envelope-from jrhett@mail.meer.net) Received: from mail.meer.net (localhost [127.0.0.1]) by mail.meer.net (8.12.10/8.12.10/meer) with ESMTP id j0C0aTcX090798 for ; Tue, 11 Jan 2005 16:36:29 -0800 (PST) (envelope-from jrhett@mail.meer.net) Received: (from jrhett@localhost) by mail.meer.net (8.12.1/8.12.10) id j0C0aTnm090797 for freebsd-ports@FreeBSD.org; Tue, 11 Jan 2005 16:36:29 -0800 (PST) (envelope-from jrhett) Date: Tue, 11 Jan 2005 16:36:29 -0800 From: Joe Rhett To: freebsd-ports@FreeBSD.org Message-ID: <20050112003629.GC89277@meer.net> References: <6795649E-6280-11D9-812A-000D936EFA20@meer.net> <200501111024.34665.mranner@inode.at> <20050112001350.GD82822@meer.net> <200501111623.48989.fcash-ml@sd73.bc.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200501111623.48989.fcash-ml@sd73.bc.ca> User-Agent: Mutt/1.4i Organization: Meer.net LLC Subject: Re: FreeBSD Port: mod_frontpage-1.6.2 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: Wed, 12 Jan 2005 00:36:32 -0000 > On January 11, 2005 04:13 pm, Joe Rhett wrote: > > Okay -- how do you write this into the Makefile? (I checked the > > porters handbook, and there's nothing about how to complain to the > > user if a necessary download file is missing and tell them where to > > get it...) On Tue, Jan 11, 2005 at 04:23:48PM -0800, Freddie Cash wrote: > Check the lang/jdk14 or www/dansguardian Makefiles for a couple > different methods. Thanks. Yeah, I also found an example in java/sun-wtk as well, finally. For the record and any other poor schmuck searcing for this, this seems to be the easy way: .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING) IGNORE=You must manually fetch the file ${DISTNAME}${EXTRACT_SUFX} from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again .endif -- Joe Rhett Senior Geek Meer.net