pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/doc/guide/files PKGNAME must be set if no DISTNAME too.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9722416e8ef2
branches:  trunk
changeset: 634116:9722416e8ef2
user:      obache <obache%pkgsrc.org@localhost>
date:      Fri May 09 08:14:06 2014 +0000

description:
PKGNAME must be set if no DISTNAME too.

diffstat:

 doc/guide/files/components.xml |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r ddeb7daeed2a -r 9722416e8ef2 doc/guide/files/components.xml
--- a/doc/guide/files/components.xml    Fri May 09 08:12:50 2014 +0000
+++ b/doc/guide/files/components.xml    Fri May 09 08:14:06 2014 +0000
@@ -1,4 +1,4 @@
-<!-- $NetBSD: components.xml,v 1.44 2012/10/17 16:16:32 abs Exp $ -->
+<!-- $NetBSD: components.xml,v 1.45 2014/05/09 08:14:06 obache Exp $ -->
 
 <chapter id="components"> <?dbhtml filename="components.html"?>
 <title>Package components - files, directories and contents</title>
@@ -30,9 +30,10 @@
     website.</para></listitem>
 
     <listitem><para><varname>PKGNAME</varname> is the name of the
-    package, as used by pkgsrc. You only need to provide it if
+    package, as used by pkgsrc. You need to provide it if
     <varname>DISTNAME</varname> (which is the default) is not a good
-    name for the package in pkgsrc.  Usually it is the pkgsrc
+    name for the package in pkgsrc or <varname>DISTNAME</varname> is not
+    provided (no distribution file is required).  Usually it is the pkgsrc
     directory name together with the version number. It must match the
     regular expression
     <varname>^[A-Za-z0-9][A-Za-z0-9-_.+]*$</varname>, that is, it



Home | Main Index | Thread Index | Old Index