head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.20 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.18 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.16 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.14 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.12 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.3.0.10 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.8 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.6 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.4 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.2 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.2.0.10 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.8 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.6 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.4 pkgsrc-2007Q1-base:1.2 jlam-pkgviews:1.2.0.2 jlam-pkgviews-base:1.2 pkgsrc-2006Q4:1.1.0.2 pkgsrc-2006Q4-base:1.1; locks; strict; comment @# @; 1.3 date 2008.01.19.22.41.47; author rillig; state dead; branches; next 1.2; 1.2 date 2007.02.06.19.47.13; author rillig; state Exp; branches; next 1.1; 1.1 date 2006.11.15.19.27.16; author rillig; state Exp; branches; next ; desc @@ 1.3 log @Renamed some *.mk files to *.help, since they only contain comments. @ text @# $NetBSD: destdir.mk,v 1.2 2007/02/06 19:47:13 rillig Exp $ # # === # Warning: This file is still under construction. Don't rely on it. # === # # This file documents the variables around the DESTDIR support. # # Normally, packages are installed directly into LOCALBASE and may # overwrite files of other packages there. It also makes it easy to # create packages which behave differently depending on whether they # are installed from source or from a binary package. This is not good. # # The DESTDIR support tries to prevent some of these problems. When it # is enabled, packages are not installed directly into LOCALBASE. # Instead, they are installed in a temporary directory, and a binary # package is created from the files that have been installed there. # # === User-settable variables === # # USE_DESTDIR # * "yes" to enable DESTDIR support for those packages that # explicitly support it. # # * "full": This makes the build completely unprivileged and in # turn detects any attempt to write e.g. to ${LOCALBASE}. # This is not supported for actual installation yet, due to # short comings of pkg_create. [FIXME] # # === Package-settable variables === # # PKG_DESTDIR_SUPPORT # * "user-destdir" means that all files of the packages should be # installed with default ownership and permissions. # # * "destdir" means that some of the installed files need special # ownership or permissions. The installation is done by the # privileged user. # # === Implementation notes === # # In the "install" phase, the variable DESTDIR is set in the make(1) # environment of the default "do-install" target. Additionally, the # variable is passed in the INSTALL_MAKE_FLAGS to override potential # "DESTDIR=" entries in the Makefiles. # # Keywords: destdir @ 1.2 log @A bit more documentation. @ text @d1 1 a1 1 # $NetBSD: destdir.mk,v 1.1 2006/11/15 19:27:16 rillig Exp $ @ 1.1 log @Added some documentation on the DESTDIR support that has recently been introduced to pkgsrc. There are still some FIXMEs left. @ text @d1 1 a1 1 # $NetBSD$ d37 2 a38 1 # ownership or permissions. d47 1 @