Bug 74328

Summary: [books/porters-handbook] Adding a call sample for pkg-install in Makefile
Product: Documentation Reporter: freebsd
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me CC: doc
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
book.sgml.diff none

Description freebsd 2004-11-24 18:30:24 UTC
	Because a lot of maintainer does not make a correct call to the pkg-install script
	in their Makefile, i think we should include a sample.
	
	Adding @PKG_PREFIX=${PREFIX} ${SH} pkg-install ${PKGNAME} PRE-INSTALL is a mistake because
	with a WRKDIRPREFIX variable set, this would not work: pkg-install have to be replaced
	with the PKG-INSTALL variable substitution instead.
Comment 1 Peter Pentchev freebsd_committer freebsd_triage 2004-11-26 09:45:58 UTC
State Changed
From-To: open->closed

The change was committed with a little modification: PKG_PREFIX instead 
of @PKG_PREFIX.  Thanks!