From 3e3869af11bf05dafd4dc0096672fc4f80f54ec0 Mon Sep 17 00:00:00 2001 From: Erwin Lansing Date: Tue, 17 Jan 2006 18:55:31 +0000 Subject: [PATCH] Document ALWAYS_KEEP_DISTFILES which was added to comply with the GPLs distribution clause when using binary distfiles, which requires that the source code for the binary distfiles is provided as well. Reviewed by: simon --- .../books/porters-handbook/book.sgml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/en_US.ISO8859-1/books/porters-handbook/book.sgml b/en_US.ISO8859-1/books/porters-handbook/book.sgml index 3c169f11d6..b69202bde0 100644 --- a/en_US.ISO8859-1/books/porters-handbook/book.sgml +++ b/en_US.ISO8859-1/books/porters-handbook/book.sgml @@ -2997,6 +2997,29 @@ PATCHFILES= patch1:test define in your Makefile. + + + <makevar>ALWAYS_KEEP_DISTFILES</makevar> + + If your port uses binary distfiles and has a license that + requires that the source code is provided with packages distributed + in binary form, e.g. GPL, ALWAYS_KEEP_DISTFILES + will instruct the &os; build cluster to keep a copy of the files + specified in DISTFILES. Users of these ports + will generally not need these files, so it is a good idea to only + add the source distfiles to DISTFILES when + PACKAGE_BUILDING is defined. + + + + Use of <makevar>ALWAYS_KEEP_DISTFILES</makevar>. + .if defined(PACKAGE_BUILDING) +DISTFILES+= foo.tar.gz +ALWAYS_KEEP_DISTFILES= yes +.endif + +