From owner-freebsd-haskell@freebsd.org Thu Dec 28 20:11:39 2017 Return-Path: Delivered-To: freebsd-haskell@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 826B2EB1A3A for ; Thu, 28 Dec 2017 20:11:39 +0000 (UTC) (envelope-from girgen@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 70AF768D81 for ; Thu, 28 Dec 2017 20:11:39 +0000 (UTC) (envelope-from girgen@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 70097EB1A39; Thu, 28 Dec 2017 20:11:39 +0000 (UTC) Delivered-To: haskell@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 6FA0CEB1A38 for ; Thu, 28 Dec 2017 20:11:39 +0000 (UTC) (envelope-from girgen@FreeBSD.org) Received: from mail.pingpong.net (mail.pingpong.net [109.228.164.3]) by mx1.freebsd.org (Postfix) with ESMTP id 3791D68D7D for ; Thu, 28 Dec 2017 20:11:39 +0000 (UTC) (envelope-from girgen@FreeBSD.org) Received: from [10.0.1.10] (h-158-174-8-242.NA.cust.bahnhof.se [158.174.8.242]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.pingpong.net (Postfix) with ESMTPSA id B9EC224444 for ; Thu, 28 Dec 2017 21:11:36 +0100 (CET) From: Palle Girgensohn Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Subject: Porting haskell based software to FreeBSD Message-Id: Date: Thu, 28 Dec 2017 21:11:35 +0100 To: haskell@FreeBSD.org X-Mailer: Apple Mail (2.3445.5.20) X-BeenThere: freebsd-haskell@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: FreeBSD-specific Haskell issues and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Dec 2017 20:11:39 -0000 Hi, I'm a porter mainly working with PostgreSQL, and I stumbled upon a piece = of software that I'd like to incorporate into the FreeBSD ports tree. = It's called PostgREST [1] and it is built using Haskell. Hence I have = had to introduce myself to the work of lang/gch/bsd.hackage.mk and the = USE_CABAL-knob. A few questions that you can perhaps help me with: 0. First, is somebody already working on porting postgrest? :) 1. The postgrest project suggest using devel/stack to get all ports [2]. = I assume this is a shortcut that cannot really be used with a port. But = perhaps the stack tool can be used to get a list of dependant ports? Or = is the postgrest.cabal file in the root enough to simply find all = dependencies? 2. There will be at least a dozen new ports that postgrest depends and = that are yet not in the tree. Most hs-* ports in the ports tree have = MAINTAINER=3Dhaskell@FreeBSD.org. Is this customary for the Haskell = ports? I have no problem setting girgen or haskell there. Normally it = would be me, so please just advice and I'll set whichever is best there. Best regards, Palle [1] https://github.com/begriffs/postgrest [2] https://postgrest.com/en/v4.3/install.html#build-from-source=