From owner-freebsd-ports@FreeBSD.ORG Fri Feb 6 06:38:59 2004 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 4259816A4CF for ; Fri, 6 Feb 2004 06:38:59 -0800 (PST) Received: from blues.jpj.net (blues.jpj.net [208.210.80.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FF9143D58 for ; Fri, 6 Feb 2004 06:38:56 -0800 (PST) (envelope-from trevor@jpj.net) Received: from blues.jpj.net (localhost [127.0.0.1]) by blues.jpj.net (8.12.9p2/8.12.9) with ESMTP id i16Ed93p096803; Fri, 6 Feb 2004 09:39:09 -0500 (EST) (envelope-from trevor@jpj.net) Received: from localhost (trevor@localhost)i16Ed97B096800; Fri, 6 Feb 2004 09:39:09 -0500 (EST) X-Authentication-Warning: blues.jpj.net: trevor owned process doing -bs Date: Fri, 6 Feb 2004 09:39:09 -0500 (EST) From: Trevor Johnson To: =?iso-8859-1?Q?S=F8ren?= Debois In-Reply-To: <20040206143014.GA11520@diku.dk> Message-ID: <20040206093745.K85731@blues.jpj.net> References: <20040206140230.GB10686@diku.dk> <20040206091414.L85731@blues.jpj.net> <20040206143014.GA11520@diku.dk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: 8BIT X-Scanned-By: MIMEDefang 2.39 cc: freebsd-ports@freebsd.org Subject: Re: Substitution in pkg-message 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: Fri, 06 Feb 2004 14:38:59 -0000 Søren Debois wrote: > On Fri, Feb 06, 2004 at 09:15:27AM -0500, Trevor Johnson wrote: > > > I'd like my ports pkg-message to result in > > > > > > Please consult %%EXAMPLESDIR%%/README.FreeBSD > > > > > > with %%EXAMPLESDIR%% expanded appropriately. Is this possible? > > > > PKGMESSAGE= ${WRKDIR}/pkgmessage > > > > post-install: > > @${ECHO_CMD} ${EXAMPLESDIR}/README.FreeBSD > ${PKGMESSAGE} > > ${CAT} ${PKGMESSAGE} > > I did not want to show the readme, I wanted to refer to it. And I'd like > it to work for packages as well. Try it, it does what you want. -- Trevor Johnson