diff --git a/en_US.ISO8859-1/books/porters-handbook/book.sgml b/en_US.ISO8859-1/books/porters-handbook/book.sgml index 6085e5f2c8..74c36d31cd 100644 --- a/en_US.ISO8859-1/books/porters-handbook/book.sgml +++ b/en_US.ISO8859-1/books/porters-handbook/book.sgml @@ -4698,6 +4698,22 @@ PORTVERSION= 1.0 /usr/ports/LEGAL for every listed distribution file, describing exactly what the restriction entails. + + + Examples + + The preferred way to state "the distfiles for this port must be + fetched manually" is as follows: +.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) +IGNORE= may not be redistributed because of licensing reasons. Please visit some-website to accept their license and download ${DISTFILES} into ${DISTDIR} +.endif + + This both informs the user, and sets the proper metadata on + the user's machine for use by automated programs. + + Note that this stanza must be preceded by an inclusion + of bsd.port.pre.mk. +