From owner-freebsd-ports@FreeBSD.ORG Wed Sep 25 21:50:42 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8F841CC4 for ; Wed, 25 Sep 2013 21:50:42 +0000 (UTC) (envelope-from spankthespam@gmail.com) Received: from mail-qc0-x22e.google.com (mail-qc0-x22e.google.com [IPv6:2607:f8b0:400d:c01::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 548FB272B for ; Wed, 25 Sep 2013 21:50:42 +0000 (UTC) Received: by mail-qc0-f174.google.com with SMTP id n9so204942qcw.19 for ; Wed, 25 Sep 2013 14:50:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:cc:content-type; bh=5K2nor5QjvK1KrmixCO1hRZfL7E4BdlNUA2o5PYIlbk=; b=DZA0B/KRRWosymplagxR7FI+nYK/Irw31uPszEgPZ8t0m9mM+5vQsOKkbG91atWhVI 40EAFOkTUlbsmWXL17piQT5JVpT8VpNjlQPzr57SMU+FecxtFwcGLcvWFSx6FSMsgTYf xhqxvO3UBJCUjEuc9ovwa3/ltdT6Grs6pRKlxfMI+mz358WTwNJIW2oOa/qX8pwAJUzU 0L6iDwqn7A84lDB+AwQuRTQR4kXRz3J6tXpQF8+3ndxkuPdBwTNvwxXERsJdBZliLalo Rg9km02RWRkw/KwK/EPZY6AVjs1Ah3Nbiihdz+rfrWQhGbo8qBnPs4Gddf96C1Ek7yJ2 vZkA== MIME-Version: 1.0 X-Received: by 10.49.48.168 with SMTP id m8mr5472876qen.25.1380145841433; Wed, 25 Sep 2013 14:50:41 -0700 (PDT) Received: by 10.229.205.71 with HTTP; Wed, 25 Sep 2013 14:50:41 -0700 (PDT) Date: Wed, 25 Sep 2013 23:50:41 +0200 Message-ID: Subject: Biuilding ports without Makefiles using different lang compiler From: Big Lebowski Cc: FreeBSD Ports List Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Wed, 25 Sep 2013 21:50:42 -0000 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.