From owner-freebsd-ports@freebsd.org Sun Nov 20 01:00:33 2016 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 E0E0BC3E2FA for ; Sun, 20 Nov 2016 01:00:33 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [IPv6:2a00:14b0:4200:32e0::1ea]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gilb.zs64.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AA7FFC3E; Sun, 20 Nov 2016 01:00:33 +0000 (UTC) (envelope-from stb@lassitu.de) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id A54FD2AF077; Sun, 20 Nov 2016 01:00:29 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: Re: Porting a Go implementation: dealing with dependencies From: Stefan Bethke In-Reply-To: Date: Sun, 20 Nov 2016 02:00:28 +0100 Cc: FreeBSD Ports Content-Transfer-Encoding: quoted-printable Message-Id: <93D03B5A-C632-47C3-96B1-AD1CC5C7F58D@lassitu.de> References: <18B8321A-1617-4C64-806E-A968333017DB@lassitu.de> To: Steve Wills X-Mailer: Apple Mail (2.3251) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Nov 2016 01:00:34 -0000 Am 18.11.2016 um 17:59 schrieb Steve Wills : >=20 > Hi, >=20 > On 11/18/2016 10:35, Stefan Bethke wrote: >> I=E2=80=99m trying to create a port for Gitea >> (https://github.com/go-gitea/gitea). The basics seem easy enough, but >> I=E2=80=99m not sure how to deal with it=E2=80=99s dependencies. >=20 > Use the GH_* macros to fetch them. See: >=20 > = https://www.freebsd.org/doc/en/books/porters-handbook/makefile-distfiles.h= tml#makefile-master_sites-github-description >=20 > Or if the upstream vendors their deps like many do these days you can > use the GH_SUBDIR macro to put them in the proper place. >=20 > There are examples to look at if that helps, see sysutils/consul as = one > that has vendored deps or sysutils/serf for one that doesn=E2=80=99t. Thanks, it appears that the upstream has properly vendored the modules, = and I don=E2=80=99t need to so anything, if I check out the latest = commit ref instead of the latest tag. Thanks, Stefan --=20 Stefan Bethke Fon +49 151 14070811