From owner-freebsd-ports Wed Dec 13 3:22:32 2000 From owner-freebsd-ports@FreeBSD.ORG Wed Dec 13 03:22:29 2000 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from ns.raditex.se (mail.raditex.se [192.5.36.21]) by hub.freebsd.org (Postfix) with ESMTP id 7A45837B404 for ; Wed, 13 Dec 2000 03:22:23 -0800 (PST) Received: from gandalf.Raditex.se (gandalf.raditex.se [192.5.36.18]) by ns.raditex.se (8.9.3/8.9.3) with ESMTP id MAA67887; Wed, 13 Dec 2000 12:22:07 +0100 (CET) (envelope-from kaj@raditex.se) Received: from frodo.sickla.raditex.se (frodo.sickla.raditex.se [192.168.37.9]) by gandalf.Raditex.se (8.9.3/8.9.3) with ESMTP id MAA52910; Wed, 13 Dec 2000 12:22:06 +0100 (CET) (envelope-from kaj@raditex.se) Received: (from kaj@localhost) by frodo.sickla.raditex.se (8.11.0/8.11.0) id eBDBM6v89979; Wed, 13 Dec 2000 12:22:06 +0100 (CET) (envelope-from kaj@raditex.se) X-Authentication-Warning: frodo.sickla.raditex.se: kaj set sender to kaj@raditex.se using -f Sender: kaj@frodo.sickla.raditex.se To: Joerg Wunsch Cc: freebsd-ports@FreeBSD.ORG Subject: Re: How to connect additional distribution files to a port? References: <20001208151658.D22163@B7173150.DeutschePost.de> From: Rasmus Kaj Cc: Rasmus Kaj Organization: Raditex AB - http://Raditex.se/ X-Face: M9cR~WYav<"fu%MaslX0`43PAYY?uIsM8[#E(0\Xuy9rj>4gE\h3jm.7DD?]R8*^7T\o&vT U@[53Dwkuup4[0@gw#~kyu>`unH?kVj9CJa02(h>Ki\+i=%rn%sDf^KC.!?IHkKjMAbkd\jgmphp^' d|Q;OeXEAhq?ybGqOs1CHb6TJT42'C`Krnk61//AOfXtNjj/t'`5>Vw0QX!dKfOL$.f+S"LIuwR<;I Z0Qnnx(F^F]o@*V%TUtEV'1Z[TkOl^FFV9Z~A[b19%}uP*,huCU Date: 13 Dec 2000 12:22:06 +0100 In-Reply-To: J Wunsch's message of "Fri, 8 Dec 2000 15:16:58 +0100" Message-ID: <84k894o9b5.fsf@frodo.sickla.raditex.se> Lines: 25 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Capitol Reef) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >>>>> "JW" == J Wunsch 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