From owner-freebsd-ports@freebsd.org Wed Sep 9 04:44:17 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D02B59CC669 for ; Wed, 9 Sep 2015 04:44:17 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from gw.catspoiler.org (unknown [IPv6:2602:304:b010:ef20::f2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gw.catspoiler.org", Issuer "gw.catspoiler.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B3D791397 for ; Wed, 9 Sep 2015 04:44:17 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.15.2/8.15.2) with ESMTP id t894i8pZ088435; Tue, 8 Sep 2015 21:44:12 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Message-Id: <201509090444.t894i8pZ088435@gw.catspoiler.org> Date: Tue, 8 Sep 2015 21:44:08 -0700 (PDT) From: Don Lewis Subject: Re: Is there an equivalent of NO_EXTRACT? To: pkubaj@riseup.net cc: stephen@missouri.edu, freebsd-ports@FreeBSD.org In-Reply-To: <55EFB74C.5090207@riseup.net> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2015 04:44:17 -0000 On 9 Sep, Piotr Kubaj wrote: > On 09/09/2015 00:58, Montgomery-Smith, Stephen wrote: >> I think EXTRACT_ONLY will do the equivalent of what you need. >> >> ________________________________________ >> From: owner-freebsd-ports@freebsd.org [owner-freebsd-ports@freebsd.org] on behalf of Piotr Kubaj [pkubaj@riseup.net] >> Sent: Tuesday, September 08, 2015 4:44 PM >> To: freebsd-ports@FreeBSD.org >> Subject: Is there an equivalent of NO_EXTRACT? >> >> I'm a maintainer of a few ports. For the next update I'm preparing, I >> want to make it possible to download some addons via options. The thing >> is, they are downloaded as-is. They are not meant to be extracted >> (although they are zips), since it's the program itself that manages it. >> Is there such a possibility? >> > No, EXTRACT_ONLY actually extracts distfiles. I don't want them to be > extracted, I want them to be copies as-is, since the installed port will > manage it itself, it even requires zips. The only solution I see is to > tar those distfiles and put them on a separate mirror. Is there any > better solution to this? Or maybe someone introduces NO_EXTRACT to > bsd.port.mk :) If you list the distfiles that you want to have automatically extracted in EXTRACT_ONLY, then it will leave the unlisted ones untouched.