From 2261e01306b7574d60b7201423139c6fe230c1de Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Tue, 3 Aug 2004 13:14:20 +0000 Subject: [PATCH] Add a not on the use of the ports/Tools/scripts/plist script Approved by: simon --- .../books/porters-handbook/book.sgml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/en_US.ISO8859-1/books/porters-handbook/book.sgml b/en_US.ISO8859-1/books/porters-handbook/book.sgml index 69397b9c6d..3fe9cf6cf5 100644 --- a/en_US.ISO8859-1/books/porters-handbook/book.sgml +++ b/en_US.ISO8859-1/books/porters-handbook/book.sgml @@ -8150,7 +8150,22 @@ pre-install: Alternatively, use the plist script in /usr/ports/Tools/scripts/ to build the - package list automatically. + package list automatically. The first step is the same as + above: take the first three lines, that is, + mkdir, mtree and + make depends. Then build and install the + port: + + &prompt.root; make install PREFIX=/var/tmp/port-name + + And let plist create the + pkg-plist file: + + &prompt.root; /usr/ports/Tools/scripts/plist -Md -m /etc/mtree/BSD.port-type.dist /var/tmp/port-name > pkg-plist + + The packing list still have to tidied up the by hand as + stated above. +