From owner-freebsd-ports@freebsd.org Wed Sep 9 05:07:48 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 D49ADA003C2 for ; Wed, 9 Sep 2015 05:07:48 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-yk0-x22a.google.com (mail-yk0-x22a.google.com [IPv6:2607:f8b0:4002:c07::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 97F001D2D; Wed, 9 Sep 2015 05:07:48 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by ykdu9 with SMTP id u9so77749056ykd.2; Tue, 08 Sep 2015 22:07:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=KPzA6jRuy833iPONNBsNJtBYrl6feB5WUyb/hBNYzVg=; b=H3c880PqCBlUM1iA7yY/IJwP+Js6Xy5+z4CKwuJOi9xNNxCS/n7XciETPp1JkB5TIe AePorc8zuBaOL/QcXLhqv4MplpoUb6qbeaRDMJ79/YJjhdET2Omu3xTqj/GQw55U4vzO tsYPRjbqr2Re4GEB8guVt/tETNqovwou1h40/cWYOAVFxAps2bYesbdmMqXCK8CQ8BaX YRhJ5FcvP+4h9k9R+Rfmmc32w2bF0YFpToqUT6okW883p3Ob/QJzXVUiKGge97JDGhUv BcnMyAo0tGyehuTX5Oo00WNrenLACSof+wLlEM5skaG+JkJhbkhCD/fFZFmX06grQnh/ j4Ag== MIME-Version: 1.0 X-Received: by 10.129.56.139 with SMTP id f133mr34878078ywa.61.1441775267713; Tue, 08 Sep 2015 22:07:47 -0700 (PDT) Received: by 10.31.96.79 with HTTP; Tue, 8 Sep 2015 22:07:47 -0700 (PDT) In-Reply-To: <55EFBCD8.6060206@riseup.net> References: <201509090444.t894i8pZ088435@gw.catspoiler.org> <55EFBCD8.6060206@riseup.net> Date: Wed, 9 Sep 2015 07:07:47 +0200 Message-ID: Subject: Re: Is there an equivalent of NO_EXTRACT? From: Ben Woods To: Piotr Kubaj Cc: Don Lewis , FreeBSD ports Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 05:07:48 -0000 On 9 September 2015 at 07:00, Piotr Kubaj wrote: > On 09/09/2015 06:44, Don Lewis wrote: >> If you list the distfiles that you want to have automatically extracted >> in EXTRACT_ONLY, then it will leave the unlisted ones untouched. > But I want the other one to properly extract and compile. Does that mean > I'd have to write my own extract: step? No need to write your own extract: step. EXTRACT_ONLY will do what you need. A quote from the Porter's handbook: 5.4.6. EXTRACT_ONLY If only some of the DISTFILES must be extracted=E2=80=94for example, one of them is the source code, while another is an uncompressed document=E2=80=94list the filenames that must be extracted in EXTRACT_ONLY. DISTFILES=3D source.tar.gz manual.html EXTRACT_ONLY=3D source.tar.gz When none of the DISTFILES need to be uncompressed, set EXTRACT_ONLY to the empty string. EXTRACT_ONLY=3D Hope that clears it up for you. Cheers, Ben