diff options
author | wiz <wiz> | 2014-05-19 13:59:15 +0000 |
---|---|---|
committer | wiz <wiz> | 2014-05-19 13:59:15 +0000 |
commit | ee8af7b5d819c75c8372bbc1c22161f7aeec13f6 (patch) | |
tree | 71bfd61f068497334994321428c9f8f5f0622b48 /doc/guide | |
parent | d1bbdae620a7451564cfb9fab386d0fb06bdfca6 (diff) | |
download | pkgsrc-ee8af7b5d819c75c8372bbc1c22161f7aeec13f6.tar.gz |
Improve previous.
Diffstat (limited to 'doc/guide')
-rw-r--r-- | doc/guide/files/build.xml | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/doc/guide/files/build.xml b/doc/guide/files/build.xml index 4cada7bb3fe..a11e4ae3378 100644 --- a/doc/guide/files/build.xml +++ b/doc/guide/files/build.xml @@ -1,4 +1,4 @@ -<!-- $NetBSD: build.xml,v 1.68 2014/05/19 13:47:22 obache Exp $ --> +<!-- $NetBSD: build.xml,v 1.69 2014/05/19 13:59:15 wiz Exp $ --> <chapter id="build"> <title>The build process</title> @@ -299,14 +299,18 @@ MASTER_SITES= http://www.example.com/download.cgi?file= </programlisting> <para> The exception to this rule are URLs starting with a dash. - In that case the URL is taken as is, fetched and the result stored - under the name of the distfile. - You can use this style for the case download URL style does not - match to above usuall case. - For example, permanent download URL is a redirecter to real download URL, - or download file name is offerd by HTTP Content-Disposition header.</para> + In that case the URL is taken as is, fetched and the result + stored under the name of the distfile. You can use this style + for the case when the download URL style does not match the + above common case. For example, if permanent download URL is a + redirector to the real download URL, or the download file name + is offered by an HTTP Content-Disposition header. In the + following example, <filename>foo-1.0.0.tar.gz</filename> will be + created instead of the default + <filename>v1.0.0.tar.gz</filename>.</para> <programlisting> +DISTNAME= foo-1.0.0 MASTER_SITES= -http://www.example.com/archive/v1.0.0 </programlisting> |