diff --git a/en_US.ISO8859-1/books/porters-handbook/book.sgml b/en_US.ISO8859-1/books/porters-handbook/book.sgml
index e3bc70d1bf..0d770a4552 100644
--- a/en_US.ISO8859-1/books/porters-handbook/book.sgml
+++ b/en_US.ISO8859-1/books/porters-handbook/book.sgml
@@ -758,7 +758,8 @@ post-extract:
gzip'd tarball named something like
foozolix-1.2.tar.gz? If so, you can go on
to the next step. If not, you should look at overriding any of
- the DISTNAME, EXTRACT_CMD,
+ the DISTVERSION, DISTNAME,
+ EXTRACT_CMD,
EXTRACT_BEFORE_ARGS,
EXTRACT_AFTER_ARGS,
EXTRACT_SUFX, or DISTFILES
@@ -2096,7 +2097,7 @@ PORTEPOCH= 1
they can be downloaded from.
- DISTNAME
+ DISTVERSION/DISTNAME
DISTNAME is the name of the port as
called by the authors of the software.
@@ -2110,6 +2111,43 @@ PORTEPOCH= 1
subdirectory named WRKSRC, which defaults
to work/${DISTNAME}.
+ Some vendor's distribution names which do not fit into the
+ ${PORTNAME}-${PORTVERSION}-scheme can be handled
+ automatically by setting DISTVERSION.
+ PORTVERSION and DISTNAME will be
+ derived automatically, but can of course be overridden. The following
+ table lists some examples:
+
+
+
+
+
+ DISTVERSION
+ PORTVERSION
+
+
+
+
+
+ 0.7.1d
+ 0.7.1.d
+
+
+ 10Alpha3
+ 10.a3
+
+
+ 3Beta7-pre2
+ 3.b7.p2
+
+
+ 8:f_17
+ 8f.17
+
+
+
+
+
PKGNAMEPREFIX and
PKGNAMESUFFIX do not affect