Date: Wed, 25 Sep 2013 23:50:41 +0200 From: Big Lebowski <spankthespam@gmail.com> Cc: FreeBSD Ports List <freebsd-ports@freebsd.org> Subject: Biuilding ports without Makefiles using different lang compiler Message-ID: <CAHcXP%2Bee%2BZjyBH-MVG0-rTqna9qpYZ3bWVr_r9wViL2_LnC2Xw@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi list, I am working on a new port, that's a software written in Go, which doesnt have a Makefile in sources, and I am wondering that's the right way to write it: I could use NO_BUILD and in pre-install cdw to relevant directory and invoke compiler libary and its target, like 'go build' (using variables of course from port Makefile) that would do the job, but somehow I feel there should be a better way. I wonder should I write a Makefile for it and patch the sources to place it there, so I could just use ports mechanisms, or is there another way, or perhaps what I am describing above is the correct way of handling that? Regards, B.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHcXP%2Bee%2BZjyBH-MVG0-rTqna9qpYZ3bWVr_r9wViL2_LnC2Xw>