pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: rename a DISTFILE at download time?
Geert Hendrickx wrote:
> On Tue, Jul 03, 2007 at 06:12:39PM -0700, reed wrote:
>> Have a look at the pre-fetch target for an example in
>> pkgsrc/net/vncviewer/Makefile
>
> pre-fetch:
> ${TEST} -f ${DISTDIR}/${DISTNAME}.tar.gz || \
> (cd ${DISTDIR} && ${FETCH_CMD} -o ${DISTNAME}.tar.gz ${DISTURL:Q})
>
> Is it garantueed that all FETCH_CMD's support -o?
>
> Geert
In short, no :)
e.g.
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/security/audit-packages/files/download-vulnerability-list?rev=1.29&content-type=text/x-cvsweb-markup
lines 66-68.
adrian.
Home |
Main Index |
Thread Index |
Old Index