From owner-freebsd-ports@FreeBSD.ORG Fri Jan 23 16:08:09 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61BEB1065688; Fri, 23 Jan 2009 16:08:09 +0000 (UTC) (envelope-from stephen@math.missouri.edu) Received: from math.missouri.edu (math.missouri.edu [128.206.184.200]) by mx1.freebsd.org (Postfix) with ESMTP id 38BAC8FC0A; Fri, 23 Jan 2009 16:08:09 +0000 (UTC) (envelope-from stephen@math.missouri.edu) Received: from [128.206.184.213] (cauchy.math.missouri.edu [128.206.184.213]) by math.missouri.edu (Postfix) with ESMTP id 157A6610C4B; Fri, 23 Jan 2009 09:51:57 -0600 (CST) Message-ID: <4979E746.6020703@math.missouri.edu> Date: Fri, 23 Jan 2009 09:50:30 -0600 From: Stephen Montgomery-Smith User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.19) Gecko/20090113 SeaMonkey/1.1.14 MIME-Version: 1.0 To: Steve Franks References: <539c60b90901191200n66f37c76k749ebbb829378cb9@mail.gmail.com> <200901231622.53940.makc@issp.ac.ru> <539c60b90901230746o5a7dc2b5g735f17837de1480a@mail.gmail.com> In-Reply-To: <539c60b90901230746o5a7dc2b5g735f17837de1480a@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.94.2/8897/Fri Jan 23 06:59:36 2009 on math.missouri.edu X-Virus-Status: Clean Cc: ports@freebsd.org, Jeremy Messenger , Olivier SMEDTS , Dmitry Marakasov , freebsd-ports@freebsd.org, Florent Thoumie Subject: Re: how to install a port without install: in the Makefile 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: Fri, 23 Jan 2009 16:08:09 -0000 Steve Franks wrote: > I presume Florent's preferred method is "INSTALL_PROGRAM"? So far, > the only doc I've found is that it exists. So I put INSTALL_PROGRAM > $(WORKDIR)/$(PORTNAME) (portname just happens to be the name of the > executable) in the port Makefile, or what? I've never been able to > 'read' makefiles, so I'm not sure a look at ports.mk is going to cause > anything but frustration. We've spent minutes arguing philisophy, can > I get a couple seconds of example? :) Otherwise, PLIST_FILES looks > like it will work to me... I had to do something like this in math/naturalmath. I think this provides a very straightforward example of what you want. I recall I copied this from other ports - I don't remember which - but you can know that they do exist.