Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 2003 08:40:02 -0800 (PST)
From:      Kenneth Stailey <kstailey@yahoo.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/47254: pkg-name is not a generated file
Message-ID:  <200301201640.h0KGe2j2086521@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/47254; it has been noted by GNATS.

From: Kenneth Stailey <kstailey@yahoo.com>
To: Simon 'corecode' Schubert <corecode@corecode.ath.cx>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/47254: pkg-name is not a generated file
Date: Mon, 20 Jan 2003 08:30:23 -0800 (PST)

 I just noticed that the title of this pr should say "pkg-message" not
 "pkg-name".  The message body is correct.
 
 --- Simon 'corecode' Schubert <corecode@corecode.ath.cx> wrote:
 > Lately Kenneth Stailey told:
 > 
 > > But pkg-message is a committed file.
 > > 
 > > http://www.freebsd.org/cgi/cvsweb.cgi/ports/emulators/klh10/pkg-message
 > > 
 > > Why generate it at pre-install time when you've already downloaded it with
 > > cvs/cvsup?
 > 
 > either stick with the existing file, that's easy
 > or create it every time and have an always-valid path in the message.
 > 
 > in this context your patch seems okay then. you should then modify
 > pkg-message to contain a generic path.
 > 
 > cheers
 >   simon
 
 Here is the documentation about pkg-message:
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/pkg-files.html
 
 << 12.1 pkg-message
 
 If you need to display a message to the installer, you may place the message in
 pkg-message. This capability is often useful to display additional installation
 steps to be taken after a pkg_add or to display licensing information.
 
 Note: The pkg-message file does not need to be added to pkg-plist. Also, it
 will not get automatically printed if the user is using the port, not the
 package, so you should probably display it from the post-install target
 yourself. >>
 
 So what is this about a generic path?  How does it work?  Can the handbook be
 made more clear?
 
 I display the message from the port's Makefile using echo of static strings not
 cat of the pkg-message file.  The pkg-message file is only for binary packages
 not a source code port; it's not port-message, it's pkg-message.
 
 Thanks,
 Ken
 
 
 
 __________________________________________________
 Do you Yahoo!?
 Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
 http://mailplus.yahoo.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




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