Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jan 2005 16:36:29 -0800
From:      Joe Rhett <jrhett@meer.net>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: FreeBSD Port: mod_frontpage-1.6.2
Message-ID:  <20050112003629.GC89277@meer.net>
In-Reply-To: <200501111623.48989.fcash-ml@sd73.bc.ca>
References:  <6795649E-6280-11D9-812A-000D936EFA20@meer.net> <200501111024.34665.mranner@inode.at> <20050112001350.GD82822@meer.net> <200501111623.48989.fcash-ml@sd73.bc.ca>

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



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