Skip site navigation (1)Skip section navigation (2)
Date:      13 Dec 2000 12:22:06 +0100
From:      Rasmus Kaj <kaj@raditex.se>
To:        Joerg Wunsch <joerg_wunsch@interface-business.de>
Cc:        Rasmus Kaj <kaj@raditex.se>
Subject:   Re: How to connect additional distribution files to a port?
Message-ID:  <84k894o9b5.fsf@frodo.sickla.raditex.se>
In-Reply-To: J Wunsch's message of "Fri, 8 Dec 2000 15:16:58 %2B0100"
References:  <20001208151658.D22163@B7173150.DeutschePost.de>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "JW" == J Wunsch <j@ida.interface-business.de> writes:

 JW> [ ... ] in addition to normal distribution files (.tar.gz etc.),
 JW> it would be worthwhile to connect what i'd call ``additional
 JW> distribution files'' to a port [ ... ]

Apart from the answers you allready have got, here is anoteher way to
do it, in the (admittedly rather special) case where the "other" file
just have one source (even though the "main" file(s) might be
replicated all over the net):

post-extract:
        ${SETENV} ${FETCH_ENV} ${FETCH_CMD} ${FETCH_BEFORE_ARGS} \
          -o ${WORKDIR}/foo.pdf url:/bar/foo.pdf ${FETCH_AFTER_ARGS};

... ok, I admit the command is rather ugly, but I don't know what to
expext from FETCH_ENV, FETCH_BEFORE_ARGS or FETCH_AFTER_ARGS, so I
don't know wether they could be safely omitted in a case like this?
They are probably used to get out through firewalls, so they should
probably be present ...

-- 
Rasmus Kaj ------------------------ rasmus@kaj.se - http://Raditex.se/~kaj/
 \                          Intolerance is the last defense of the insecure
  \----------------------------------------------------- http://Raditex.se/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?84k894o9b5.fsf>