From owner-freebsd-ports@FreeBSD.ORG Fri Feb 6 11:21:50 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 0715E16A4CE for ; Fri, 6 Feb 2004 11:21:50 -0800 (PST) Received: from nhugin.diku.dk (nhugin.diku.dk [130.225.96.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id E23E743D53 for ; Fri, 6 Feb 2004 11:21:46 -0800 (PST) (envelope-from debois@diku.dk) Received: by nhugin.diku.dk (Postfix, from userid 754) id E51E06E125F; Fri, 6 Feb 2004 20:21:35 +0100 (CET) Received: from tyr.diku.dk (tyr.diku.dk [130.225.96.226]) by nhugin.diku.dk (Postfix) with QMQP id 9D98A6E1250 for ; Fri, 6 Feb 2004 20:21:35 +0100 (CET) Date: Fri, 6 Feb 2004 20:21:45 +0100 From: =?iso-8859-1?Q?S=F8ren?= Debois To: freebsd-ports@freebsd.org Message-ID: <20040206192145.GA18618@diku.dk> Mail-Followup-To: freebsd-ports@freebsd.org References: <20040206140230.GB10686@diku.dk> <20040206091414.L85731@blues.jpj.net> <20040206093745.K85731@blues.jpj.net> <20040206145646.GA12405@diku.dk> <20040206110829.J85731@blues.jpj.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040206110829.J85731@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 autolearn=ham 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 19:21:50 -0000 On Fri, Feb 06, 2004 at 11:18:50AM -0500, Trevor Johnson wrote: > I assume that "..." stands for the name of the package file, and by > respecting it you mean printing the PKGMESSAGE. If so I'm puzzled because > it works here (I'm on 5.2-RELEASE). I was hoping for some solution such that add_pkg -p /tmp/foo mosml-2.01.tbz would produce the message Please consult /tmp/foo/share/doc/mosml/README.FreeBSD before use. whereas with the suggested solution I get Please consult /usr/local/share/doc/mosml/README.FreeBSD before use. I suspect that the behaviour I was hoping for is simply not supported by add_pkg? -- --- Debois