pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Update pkgmanpages to the latest version of packages.7...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/23eb9dc237ea
branches:  trunk
changeset: 516139:23eb9dc237ea
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Jul 14 22:13:19 2006 +0000

description:
Update pkgmanpages to the latest version of packages.7 from HEAD src.
Include the file in-line in pkgsrc instead of fetching it.  This will
be used by the bootstrap to register the packages.7 manpage.

diffstat:

 doc/CHANGES-2006                      |    3 +-
 pkgtools/pkgmanpages/Makefile         |   36 +-
 pkgtools/pkgmanpages/files/packages.7 |  728 ++++++++++++++++++++++++++++++++++
 3 files changed, 756 insertions(+), 11 deletions(-)

diffs (truncated from 801 to 300 lines):

diff -r cc7e68e05d31 -r 23eb9dc237ea doc/CHANGES-2006
--- a/doc/CHANGES-2006  Fri Jul 14 22:11:25 2006 +0000
+++ b/doc/CHANGES-2006  Fri Jul 14 22:13:19 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES-2006,v 1.729 2006/07/14 22:11:25 adrianp Exp $
+$NetBSD: CHANGES-2006,v 1.730 2006/07/14 22:13:19 jlam Exp $
 
 Changes to the packages collection and infrastructure in 2006:
 
@@ -3382,3 +3382,4 @@
        Added pkgtools/tnftp version 20050625 [jlam 2006-07-14]
        Updated finance/gnucash-docs to 2.0.0nb1 [wiz 2006-07-14]
        Updated net/freeradius to 1.1.2 [adrianp 2006-07-14]
+       Updated pkgtools/pkgmanpages to 20050911 [jlam 2006-07-14]
diff -r cc7e68e05d31 -r 23eb9dc237ea pkgtools/pkgmanpages/Makefile
--- a/pkgtools/pkgmanpages/Makefile     Fri Jul 14 22:11:25 2006 +0000
+++ b/pkgtools/pkgmanpages/Makefile     Fri Jul 14 22:13:19 2006 +0000
@@ -1,25 +1,41 @@
-# $NetBSD: Makefile,v 1.10 2005/04/05 15:31:33 reed Exp $
-#
+# $NetBSD: Makefile,v 1.11 2006/07/14 22:13:19 jlam Exp $
 
-DISTNAME=      pkgmanpages-19991222
+DISTNAME=      pkgmanpages-20050911
 CATEGORIES=    pkgtools
-MASTER_SITES=  ${MASTER_SITE_LOCAL}
+MASTER_SITES=  # empty
+DISTFILES=     # empty
 
 MAINTAINER=    agc%NetBSD.org@localhost
-HOMEPAGE=      http://www.NetBSD.org/
+HOMEPAGE=      http://www.pkgsrc.org/
 COMMENT=       Manual page(s) for the packages collection
 
-WRKSRC=                ${WRKDIR}
+NO_PKGTOOLS_REQD_CHECK=        # defined
+PKG_PRESERVE=          # defined
+
+NO_CHECKSUM=   yes
+NO_MTREE=      yes
+NO_CONFIGURE=  yes
 NO_BUILD=      yes
-INSTALLATION_DIRS=     man/man7
+
+INSTALLATION_DIRS=     ${PKGMANDIR}/man7
 
 .include "../../mk/bsd.prefs.mk"
 
-.if ${OPSYS} == "NetBSD"
-PREFIX=                /usr/share
+PKG_TOOLS_PREFIX=      ${PKG_TOOLS_BIN:C|/[^/]?bin$||}
+
+# XXX This breaks for those who set their own LOCALBASE to "/usr" and also
+# XXX set PKGMANDIR to be other than "share/man".
+# XXX
+.if !empty(PKG_TOOLS_PREFIX:M/usr)
+PKGMANDIR=             share/man
 .endif
 
+do-extract:
+       @${CP} -R ${FILESDIR} ${WRKSRC}
+
 do-install:
-       ${INSTALL_MAN} ${WRKSRC}/packages.7 ${PREFIX}/man/man7
+       ${INSTALL_MAN} ${WRKSRC}/packages.7 ${PREFIX}/${PKGMANDIR}/man7
 
 .include "../../mk/bsd.pkg.mk"
+
+PREFIX:=       ${PKG_TOOLS_PREFIX}
diff -r cc7e68e05d31 -r 23eb9dc237ea pkgtools/pkgmanpages/files/packages.7
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/pkgmanpages/files/packages.7     Fri Jul 14 22:13:19 2006 +0000
@@ -0,0 +1,728 @@
+.\"    $NetBSD: packages.7,v 1.1 2006/07/14 22:13:19 jlam Exp $
+.\"
+.\" from: NetBSD: bsd.pkg.mk,v 1.89 1998/06/01 21:30:10 hubertf Exp
+.\"
+.\"    This file is in the public domain.
+.\"
+.Dd August 1, 2005
+.Dt PACKAGES 7
+.Os
+.Sh NAME
+.Nm packages
+.Nd
+.Nx
+user package variables
+.Sh DESCRIPTION
+.Em This manual page is obsolete .
+.Em Please refer the pkgsrc guide at
+.Pa /usr/pkgsrc/doc/pkgsrc.txt
+.Em or
+.Pa /usr/pkgsrc/doc/pkgsrc.html .
+.Em The contents of this manual page will be moved there as time permits .
+.Pp
+This manual page describes the variables that users of the
+.Nx
+packages system can set to alter the configuration of the package system,
+and individual packages.
+.Sh PACKAGE SPECIFIC VARIABLES
+This section documents variables that typically apply to an individual
+package.
+Non-Boolean variables without defaults are *mandatory*.
+.Bl -tag -offset indent -width XXXXXXXX
+.It DIST_SUBDIR
+Suffix to
+.Pa ${DISTDIR} .
+If set, all
+.Pa ${DISTFILES}
+and
+.Pa ${PATCHFILES}
+will be put in this subdirectory of
+.Pa ${DISTDIR}.
+.It ALLFILES
+All of
+.Pa ${DISTFILES}
+and
+.Pa ${PATCHFILES} .
+.It IGNOREFILES
+If some of the
+.Pa ${ALLFILES}
+are not checksum-able, set this variable to their names.
+.It PKGNAME
+Name of the package file to create if the
+.Pa ${DISTNAME}
+isn't really relevant for the package.
+The default is
+.Pa ${DISTNAME} .
+.It SVR4_PKGNAME
+Name of the package file to create if the
+.Pa ${PKGNAME}
+isn't unique enough on a SVR4 system.
+The default is
+.Pa ${PKGNAME}
+which may be shortened when you use gensolpkg.
+Only add SVR4_PKGNAME if
+.Pa ${PKGNAME}
+does not produce an unique package name on a SVR4 system.
+The length of SVR4_PKGNAME is limited to 5 characters.
+.It PKGREVISION
+This number indicates the package's revision within the
+.Nx
+Packages Collection (pkgsrc).
+If set, this will be attached to the PKGNAME variable separated by
+a
+.Dq nb .
+.It EXTRACT_ONLY
+If defined, a subset of
+.Pa ${DISTFILES}
+you want to actually extract.
+.It PATCHDIR
+A directory containing any additional patches you made
+to package this software.
+The default is
+.Pa ${.CURDIR}/patches .
+.It SCRIPTDIR
+A directory containing any auxiliary scripts.
+The default is
+.Pa ${.CURDIR}/scripts .
+.It FILESDIR
+A directory containing any miscellaneous additional files.
+The default is
+.Pa ${.CURDIR}/files .
+.It PKGDIR
+A direction containing any package creation files.
+The default is
+.Pa ${.CURDIR}/pkg .
+.It PKG_DBDIR
+Where package installation is recorded.
+The default is
+.Pa /var/db/pkg .
+.It FORCE_PKG_REGISTER
+If set, it will overwrite any existing package registration information in
+.Pa ${PKG_DBDIR}/${PKGNAME} .
+.It NO_MTREE
+If set, will not invoke mtree from
+.Pa bsd.pkg.mk
+from the
+.Dq install
+target.
+.It MTREE_FILE
+The name of the mtree file.
+The default is
+.Pa /etc/mtree/BSD.x11.dist
+if
+.Dv USE_IMAKE
+or
+.Dv USE_X11BASE
+is set, or
+.Pa /etc/mtree/BSD.pkg.dist
+otherwise.
+.It USE_X11
+Instructs the package system that the package will use headers and libraries
+from
+.Dv X11BASE
+and so a check must be made that these are available.
+If they are not, an IGNORE message will be displayed, and the package
+will not be built.
+.It PLIST_SRC
+Which file(s) to use to build
+.Pa ${PLIST} .
+Default is
+.Pa ${PKGDIR}/PLIST .
+.It PLIST_SUBST
+Patterns that get automatically expanded during the PLIST creation.
+Takes arguments of the form
+.Li VARNAME =
+.Dq value
+and subsequently replaces every occurrence of
+.Li ${VARNAME}
+with
+.Li value .
+.It INSTALL_FILE
+The name of a script which will be invoked when installing
+binary packages.
+If there is a file called
+.Pa ${PKGDIR}/INSTALL ,
+that file will be used.
+.It DEINSTALL_FILE
+The name of a script which will be invoked when de-installing
+binary packages.
+If there is a file called
+.Pa ${PKGDIR}/DEINSTALL ,
+that file will be used.
+.It MESSAGE
+The name of a file which will be displayed during the installation
+of a package.
+No substitution according to MESSAGE_SUBST takes place.
+Overrides MESSAGE_SRC.
+Should not be used.
+.It MESSAGE_SRC
+The name of a file which will be displayed when installing
+a package.
+If neither MESSAGE_SRC nor MESSAGE are set, and there
+is a file called
+.Pa ${PKGDIR}/MESSAGE ,
+that file will be used.
+Before displaying the file, substitution according to MESSAGE_SUBST
+takes place.
+.It MESSAGE_SUBST
+This variable takes equations of the form
+.Li VARNAME =
+.Dq value ,
+and replaces all occurrences of
+.Li ${VARNAME}
+in MESSAGE_SRC with
+.Li value .
+By default, substitution is performed for
+.Li LOCALBASE ,
+.Li PKGNAME ,
+.Li PREFIX ,
+.Li X11BASE ,
+and
+.Li X11PREFIX .
+.It NO_BIN_ON_CDROM
+Binaries of this package may not be placed on CDROM.
+Set this string to
+.Pa ${RESTRICTED} .
+.It NO_BIN_ON_FTP
+Binaries of this package may not be made available via ftp.
+Set this string to
+.Pa ${RESTRICTED} .
+.It NO_BUILD
+Use a dummy (do-nothing) build target.
+.It NO_CONFIGURE
+Use a dummy (do-nothing) configure target.
+.It NO_INSTALL
+Use a dummy (do-nothing) install target.
+.It NO_PACKAGE
+Use a dummy (do-nothing) package target.
+.It NO_PKG_REGISTER
+Don't register a package install as a package.
+.It NO_SRC_ON_CDROM
+Distfile(s) of this package may not be placed on CDROM.
+Set this string to
+.Pa ${RESTRICTED} .
+.It NO_SRC_ON_FTP
+Distfile(s) of this package may not be made available via ftp.
+Set this string to
+.Pa ${RESTRICTED} .
+If this variable is set, the distfile will not be mirrored by ftp.NetBSD.org.
+.It NO_DEPENDS
+Don't verify build of dependencies.
+.It CHECK_SHLIBS
+Do not run 'check-shlibs' even if PKG_DEVELOPER is set.
+This prevents
+errors on emul/compat packages (e.g., Linux binaries, ...).
+.It MAKEFILE
+Name of the Makefile in ${WRKSRC}, used in the default build and
+install targets.
+Default:
+.Dq Makefile .
+.It BROKEN
+Package is broken.
+Set this string to the reason why.
+.It RESTRICTED
+Package is restricted.
+Set this string to the reason why.
+.It LICENCE
+The package has a non-standard licence, such as shareware, or



Home | Main Index | Thread Index | Old Index