From owner-freebsd-ports@FreeBSD.ORG Fri Nov 23 08:43:37 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E0288DE3 for ; Fri, 23 Nov 2012 08:43:37 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id BF13F8FC08 for ; Fri, 23 Nov 2012 08:43:37 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TborD-0007Ka-Iw for freebsd-ports@freebsd.org; Fri, 23 Nov 2012 00:43:31 -0800 Date: Fri, 23 Nov 2012 00:43:31 -0800 (PST) From: Beeblebrox To: freebsd-ports@freebsd.org Message-ID: <1353660211571-5763428.post@n5.nabble.com> Subject: Self-Maintained ports Makefile for cloned git MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 08:43:37 -0000 Hi. I want to add a new port to my "locally maintained" collection. Source files will be cloned using git into a folder on the system (and not a tar.gz file) and I will manually update the git, I do not want the Makefile to run git fetch. So I have several questions about this: 1. How do I set MASTER_SITES in the port's Makefile to a local folder path? Something like this? MASTER_SITES=file//path/to/folder - is there another variable I am overlooking? 2. Is there any way version information on the git clone can be automatically passed to the Makefile? Can DISTNAME= be of help here? 3. In the Makefile do I have to define tools that the source needs for building (like cmake / bison / lua)? Or is the process smart enough to know where to look - sometimes source builds break because they are unable to locate a tool which is already installed on the system. Thank You. -- View this message in context: http://freebsd.1045724.n5.nabble.com/Self-Maintained-ports-Makefile-for-cloned-git-tp5763428.html Sent from the freebsd-ports mailing list archive at Nabble.com.