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 <[EMAIL PROTECTED]>
              <[EMAIL PROTECTED]>

Eat when you are hungry, sleep when you are tired.
Chase butterflies when you want some fun.

Attachment: signature.asc
Description: Toto je digitálně podepsaná část zprávy

Reply via email to