Sun Sep 30 09:10:36 2012 UTC ()
"user-destdir" was made default, adjust example correspondingly.


(asau)
diff -r1.20 -r1.21 pkgsrc/doc/Makefile-example

cvs diff -r1.20 -r1.21 pkgsrc/doc/Makefile-example (expand / switch to unified diff)

--- pkgsrc/doc/Makefile-example 2012/09/06 11:06:58 1.20
+++ pkgsrc/doc/Makefile-example 2012/09/30 09:10:36 1.21
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile-example,v 1.20 2012/09/06 11:06:58 is Exp $ 1# $NetBSD: Makefile-example,v 1.21 2012/09/30 09:10:36 asau Exp $
2 2
3# First paragraph - distfile and binary package data 3# First paragraph - distfile and binary package data
4# DISTNAME PKGNAME PKGREVISION SVR4_PKGNAME CATEGORIES MASTER_SITES 4# DISTNAME PKGNAME PKGREVISION SVR4_PKGNAME CATEGORIES MASTER_SITES
5# MASTER_SITE_SUBDIR EXTRACT_SUFX DISTFILES 5# MASTER_SITE_SUBDIR EXTRACT_SUFX DISTFILES
6DISTNAME= make-3.80 6DISTNAME= make-3.80
7PKGNAME= gmake-3.80 # only to be added if the package name is different from DISTNAME 7PKGNAME= gmake-3.80 # only to be added if the package name is different from DISTNAME
8#PKGREVISION= 2 # should be added/incremented for user-visible changes 8#PKGREVISION= 2 # should be added/incremented for user-visible changes
9CATEGORIES= devel gnu # multiple categories are allowed 9CATEGORIES= devel gnu # multiple categories are allowed
10MASTER_SITES= ${MASTER_SITE_GNU:=make/} 10MASTER_SITES= ${MASTER_SITE_GNU:=make/}
11#EXTRACT_SUFX= .tar.bz2 # .tar.gz is the default, only needed in unusual circumstances 11#EXTRACT_SUFX= .tar.bz2 # .tar.gz is the default, only needed in unusual circumstances
12 12
13# Second paragraph - MAINTAINER/OWNER, HOMEPAGE and COMMENT, and LICEN[CS]E 13# Second paragraph - MAINTAINER/OWNER, HOMEPAGE and COMMENT, and LICEN[CS]E
14MAINTAINER= pkgsrc-users@NetBSD.org # set this to your email address, pkgsrc-users@ is the default 14MAINTAINER= pkgsrc-users@NetBSD.org # set this to your email address, pkgsrc-users@ is the default
@@ -20,28 +20,30 @@ LICENSE= hptools-license # Licenses sho @@ -20,28 +20,30 @@ LICENSE= hptools-license # Licenses sho
20# those should be handled using buildlink3.mk files. 20# those should be handled using buildlink3.mk files.
21# Not needed for gmake, just an example: 21# Not needed for gmake, just an example:
22# BUILD_DEPENDS+= automoc4-[0-9]*:../../devel/automoc4 22# BUILD_DEPENDS+= automoc4-[0-9]*:../../devel/automoc4
23 23
24# Set RESTRICTED to a very short explanation (typically "No permission to 24# Set RESTRICTED to a very short explanation (typically "No permission to
25# redistribute for a fee."). NO_*_ON_* may only be set to ${RESTRICTED}. 25# redistribute for a fee."). NO_*_ON_* may only be set to ${RESTRICTED}.
26RESTRICTED= "Redistribution of unmodified source only; resale prohibited." 26RESTRICTED= "Redistribution of unmodified source only; resale prohibited."
27NO_SRC_ON_CDROM= ${RESTRICTED} 27NO_SRC_ON_CDROM= ${RESTRICTED}
28NO_BIN_ON_FTP= ${RESTRICTED} 28NO_BIN_ON_FTP= ${RESTRICTED}
29NO_BIN_ON_CDROM= ${RESTRICTED} 29NO_BIN_ON_CDROM= ${RESTRICTED}
30 30
31# Fifth paragraph - PKG_INSTALLATION_TYPES 31# Fifth paragraph - PKG_INSTALLATION_TYPES
32PKG_INSTALLATION_TYPES= overwrite pkgviews # needed for package views-ready packages 32PKG_INSTALLATION_TYPES= overwrite pkgviews # needed for package views-ready packages
33# if the package can be created without root privileges 33# if the package has to be created with root privileges
34PKG_DESTDIR_SUPPORT= user-destdir 34#PKG_DESTDIR_SUPPORT= destdir
 35# if the package has to be installed directly
 36#PKG_DESTDIR_SUPPORT= none
35 37
36# Sixth paragraph - all build definitions that describe things used by 38# Sixth paragraph - all build definitions that describe things used by
37# the package. These include: WRKSRC, GNU_CONFIGURE, 39# the package. These include: WRKSRC, GNU_CONFIGURE,
38# HAS_CONFIGURE, USE_PKGLOCALEDIR, USE_INSTALL, TEXINFO_REQD, USE_JAVA, 40# HAS_CONFIGURE, USE_PKGLOCALEDIR, USE_INSTALL, TEXINFO_REQD, USE_JAVA,
39# INFO_FILES, DIST_SUBDIR, etc. 41# INFO_FILES, DIST_SUBDIR, etc.
40DIST_SUBDIR= gmake 42DIST_SUBDIR= gmake
41GNU_CONFIGURE= yes 43GNU_CONFIGURE= yes
42INFO_FILES= # defined if the package installs info files 44INFO_FILES= # defined if the package installs info files
43TEXINFO_REQD= 4.0 # version of texinfo which is necessary 45TEXINFO_REQD= 4.0 # version of texinfo which is necessary
44USE_PKGLOCALEDIR= yes 46USE_PKGLOCALEDIR= yes
45WRKSRC= ${WRKDIR}/src 47WRKSRC= ${WRKDIR}/src
46 48
47# Seventh paragraph - file overrides; these are all *_OVERRIDE variables 49# Seventh paragraph - file overrides; these are all *_OVERRIDE variables