From owner-freebsd-ports@freebsd.org Fri Aug 21 06:54:21 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 BA20E9BD399 for ; Fri, 21 Aug 2015 06:54:21 +0000 (UTC) (envelope-from 0000014f4efcff9a-b293052b-b362-4a3b-a280-fcbdb3c4bf71-000000@us-west-2.amazonses.com) Received: from a27-38.smtp-out.us-west-2.amazonses.com (a27-38.smtp-out.us-west-2.amazonses.com [54.240.27.38]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 956B8137B for ; Fri, 21 Aug 2015 06:54:21 +0000 (UTC) (envelope-from 0000014f4efcff9a-b293052b-b362-4a3b-a280-fcbdb3c4bf71-000000@us-west-2.amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=7v7vs6w47njt4pimodk5mmttbegzsi6n; d=amazonses.com; t=1440139247; h=MIME-Version:Content-Type:Content-Transfer-Encoding:Date:From:To:Subject:In-Reply-To:References:Message-ID:Feedback-ID; bh=MjYxYMvYFgBkH/Xzv/S89NqMKyqP02H8pa45XNZpZQc=; b=atYZUdNKm4dys5J6r8Owqj5X3dHpAGTPtafm3n5oZ9hANFcKWTmSwgt6Mm0ZJrhC op7wMM5pnFvQl+pN7wMJ4G7uDBAFDrspDgALvYzcHkWLVaaA+FUWrKKAJ88p/nATJMv DlidazgEFepDzzXOAp4JbfO6S1zzWvo+EvcE2mN8= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=4nphvxivhgsntfxkzsopqsdbvjscuhxm; d=vmeta.jp; t=1440139247; h=MIME-Version:Content-Type:Content-Transfer-Encoding:Date:From:To:Subject:In-Reply-To:References:Message-ID; bh=MjYxYMvYFgBkH/Xzv/S89NqMKyqP02H8pa45XNZpZQc=; b=qYsyafnvPpfFpxUaTDC8f0cOdP3e5q3jmY1pcoAEHfG/+xGY/BO+258wk4BGstog 0/nEn7PVkmOMgG0/8RaOUUAo7zBUTtiBNZk9dZZPM+TZkaqLm6mAoqEEBWIy+skpJTP O/dIiVvt+YhoDXP7hAEYnVrjlHjgSJ0AoukXg0G4= X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on glory.vmeta.jp X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Fri, 21 Aug 2015 06:40:47 +0000 From: Koichiro IWAO To: freebsd-ports@freebsd.org Subject: Re: how to fetch multiple distfiles with USE_GITHUB? In-Reply-To: <038c03ed8f9f96195c3a06415144cf38@vmeta.jp> References: <038c03ed8f9f96195c3a06415144cf38@vmeta.jp> Message-ID: <0000014f4efcff9a-b293052b-b362-4a3b-a280-fcbdb3c4bf71-000000@us-west-2.amazonses.com> X-Sender: meta@vmeta.jp User-Agent: Roundcube Webmail/1.1.2 X-SES-Outgoing: 2015.08.21-54.240.27.38 Feedback-ID: 1.us-west-2.ngRt4x2U/cWqug8pbfjwMxB6pcDw1fmN73bGmMLYyRI=:AmazonSES 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: Fri, 21 Aug 2015 06:54:21 -0000 I missed it was already documented in Porter's handbook. Porter's handbook: 5.4.3.1. Fetching Multiple Files From GitHub https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-distfiles.html Thanks, 2015-08-21 15:29 に Koichiro IWAO さんは書きました: > Hello, > > If a port requires to fetch multiple distfiles from GitHub, > what is the bestpractice? For example, equivalent to like this > MASTER_SITES expression. > > MASTER_SITES= http://foo.example.com/distfile1.tar.gz:foo \ > http://bar.example.com/distfile2.tar.gz:bar > > > AFAIK, this does not work but what I want is like this. > > USE_GITHUB= yes > GH_ACCOUNT= fooproject:foo barproject:bar > GH_PROJECT= foo:foo bar:bar > GH_COMMIT= deadbeef:foo deadbabe:bar -- `whois vmeta.jp | nkf -w` meta