diff --git a/en_US.ISO8859-1/books/porters-handbook/book.sgml b/en_US.ISO8859-1/books/porters-handbook/book.sgml index fc51ba5e04..32c9fcf33f 100644 --- a/en_US.ISO8859-1/books/porters-handbook/book.sgml +++ b/en_US.ISO8859-1/books/porters-handbook/book.sgml @@ -4221,15 +4221,30 @@ PORTVERSION= 1.0 PREFIX/share/PORTNAME. + + DATADIR_REL gets expanded to + share/PORTNAME. + + DOCSDIR gets expanded to PREFIX/share/doc/PORTNAME. + + DOCSDIR_REL gets expanded to + share/doc/PORTNAME. + + EXAMPLESDIR gets expanded to PREFIX/share/examples/PORTNAME. + + + EXAMPLESDIR_REL gets expanded to + share/examples/PORTNAME. + @@ -4250,7 +4265,7 @@ PORTVERSION= 1.0 (See more on pkg-plist substitution here.) - All documentation files and directories installed should + All conditionally installed documentation files and directories should be included in pkg-plist with the %%PORTDOCS%% prefix, for example: @@ -6424,7 +6439,10 @@ LIB_DEPENDS+= QtCore:${PORTSDIR}/devel/qt4-corelib PREFIX/www/appname. For your convenience, this path is available both in Makefile and in pkg-plist - as WWWDIR. + as WWWDIR, and the path relative to + PREFIX is available in + Makefile as + WWWDIR_REL. The user and group of web server process are available as WWWOWN and WWWGRP, in case you