From owner-freebsd-ports@FreeBSD.ORG Fri Feb 6 06:30:16 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 DE66316A4CF for ; Fri, 6 Feb 2004 06:30:16 -0800 (PST) Received: from nhugin.diku.dk (nhugin.diku.dk [130.225.96.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id C93D043D1D for ; Fri, 6 Feb 2004 06:30:15 -0800 (PST) (envelope-from debois@diku.dk) Received: by nhugin.diku.dk (Postfix, from userid 754) id EE1E86E0C0E; Fri, 6 Feb 2004 15:30:04 +0100 (CET) Received: from tyr.diku.dk (tyr.diku.dk [130.225.96.226]) by nhugin.diku.dk (Postfix) with QMQP id AA56E6E0B4A for ; Fri, 6 Feb 2004 15:30:04 +0100 (CET) Date: Fri, 6 Feb 2004 15:30:14 +0100 From: =?iso-8859-1?Q?S=F8ren?= Debois To: freebsd-ports@freebsd.org Message-ID: <20040206143014.GA11520@diku.dk> Mail-Followup-To: freebsd-ports@freebsd.org References: <20040206140230.GB10686@diku.dk> <20040206091414.L85731@blues.jpj.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040206091414.L85731@blues.jpj.net> User-Agent: Mutt/1.4.1i X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on nhugin.diku.dk X-Spam-Level: X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00,UPPERCASE_25_50 autolearn=no version=2.60 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:30:17 -0000 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. -- --- Debois