DISTNAME question
Pav Lucistnik
pav at FreeBSD.org
Sat Oct 7 06:23:07 PDT 2006
Josh Paetzel píše v so 07. 10. 2006 v 08:07 -0500:
> I need to set a DISTNAME to get a file from some sort of automatic cvs
> thing. No matter what I try a .tar.gz is prepended to it.
>
> IE....I need to get
> ruby-cvs.tar.gz?only_with_tag=ruby-cvs-0_2&view=tar
> but I can't seem to stop the port from looking for:
> ruby-cvs.tar.gz?only_with_tag=ruby-cvs-0_2&view=tar.tar.gz
>
> Can anyone help me with the Makefile magic needed here?
Consider writing your own do-fetch: target, something like this
do-fetch:
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
${SETENV} ${FETCH_ENV} ${FETCH_CMD} -o ruby-cvs.tar.gz http://.../ruby-cvs.tar.gz?only_with_tag=ruby-cvs-0_2&view=tar.tar.gz
.endif
--
Pav Lucistnik <pav at oook.cz>
<pav at FreeBSD.org>
Eat when you are hungry, sleep when you are tired.
Chase butterflies when you want some fun.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
=?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?=
=?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20061007/9cf806d9/attachment.pgp
More information about the freebsd-ports
mailing list