From owner-freebsd-ports@FreeBSD.ORG Sun Apr 20 00:47:52 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C16D106566B for ; Sun, 20 Apr 2008 00:47:52 +0000 (UTC) (envelope-from michael.grunewald@laposte.net) Received: from postfix1-g20.free.fr (postfix1-g20.free.fr [212.27.60.42]) by mx1.freebsd.org (Postfix) with ESMTP id 0B62A8FC18 for ; Sun, 20 Apr 2008 00:47:52 +0000 (UTC) (envelope-from michael.grunewald@laposte.net) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by postfix1-g20.free.fr (Postfix) with ESMTP id 6BE25252224F for ; Sun, 20 Apr 2008 02:30:03 +0200 (CEST) Received: from smtp5-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp5-g19.free.fr (Postfix) with ESMTP id AA4313F7D5F for ; Sat, 19 Apr 2008 20:43:12 +0200 (CEST) Received: from Llea.celt.neu (ron34-3-82-236-236-194.fbx.proxad.net [82.236.236.194]) by smtp5-g19.free.fr (Postfix) with ESMTP id AD87D3366AA for ; Sat, 19 Apr 2008 15:18:51 +0200 (CEST) Message-ID: <4809F1D0.3070303@laposte.net> Date: Sat, 19 Apr 2008 15:21:20 +0200 From: =?ISO-8859-1?Q?Micha=EBl_Gr=FCnewald?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; fr-FR; rv:1.8.1.11) Gecko/20080212 SeaMonkey/1.1.7 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Distributing makefiles X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Apr 2008 00:47:52 -0000 Hi all, I am planning to distribute some of the makefiles I wrote on various platforms, including FreeBSD. I need the help of some insightful soul to take a few decisions: --- Where to install? I think /usr/local/share/mk is fine; --- How to install? Users should put a `.MAKEFLAGS: -I/usr/local/share/mk' statement in their /etc/make.conf, are ports scripts allowed to do this automagically? If yes what's the best way to do this? (an ed script?) --- Being system or not? BSD Make has two search pathes, the system one (whith <> style inclusion) and the other one (with "" style incusion). I think I shall consider my files non system, preserving the <> pathes for BSD. But ther may be some pros and cons I am not aware. Any comments welcome, -- cheers, Michaël