Date: Fri, 23 Nov 2012 00:43:31 -0800 (PST) From: Beeblebrox <zaphod@berentweb.com> To: freebsd-ports@freebsd.org Subject: Self-Maintained ports Makefile for cloned git Message-ID: <1353660211571-5763428.post@n5.nabble.com>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1353660211571-5763428.post>