From owner-freebsd-ports@FreeBSD.ORG Fri Jan 23 16:08:49 2009 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 5EC16106568F for ; Fri, 23 Jan 2009 16:08:49 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.245]) by mx1.freebsd.org (Postfix) with ESMTP id 11D9A8FC22 for ; Fri, 23 Jan 2009 16:08:48 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: by an-out-0708.google.com with SMTP id b38so639476ana.13 for ; Fri, 23 Jan 2009 08:08:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=LQEj19Nv93MOQr+F8ObVo6ejhlZQ2qsJM4UNjFmWz5M=; b=k8wCsB66/DyR0pNpQO/kmWlaHn2ww7fzDneVwUVVop50dWLPydmgmXBeza4y8C3RL1 mVslTbgK/DLfXurcc41sOV6a1d8+G+leTdD93S5zsjyTCxhbFFmsUJqktFDQA7buH7oS QS1AXp5lhXCIjOFmOuyAtb7kKmZe2Ez/PCy+o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=n+CAFL0gAhVa1UP+q8gWSHlYGYISel/S80JmSS3J2GPpkh9B0loQPxAPCvqKMMGo9g F5eY08g7FDutMYG/ms0HpKteejemqWpE3XR9Ht5v0b7VJPhUA8WOs01Czo8u6KmSm6Pz WFCEUJRs5FSnyAkXnLCxa1koXsKf5+Btk7c4k= MIME-Version: 1.0 Received: by 10.100.43.10 with SMTP id q10mr3529758anq.1.1232725592572; Fri, 23 Jan 2009 07:46:32 -0800 (PST) In-Reply-To: References: <539c60b90901191200n66f37c76k749ebbb829378cb9@mail.gmail.com> <200901231622.53940.makc@issp.ac.ru> Date: Fri, 23 Jan 2009 08:46:32 -0700 Message-ID: <539c60b90901230746o5a7dc2b5g735f17837de1480a@mail.gmail.com> From: Steve Franks To: Florent Thoumie Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Olivier SMEDTS , Jeremy Messenger , ports@freebsd.org, Dmitry Marakasov , freebsd-ports@freebsd.org 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:50 -0000 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... Best, Steve On Fri, Jan 23, 2009 at 7:19 AM, Florent Thoumie wrote: > On Fri, Jan 23, 2009 at 1:22 PM, Max Brazhnikov wrote: >> On Fri, 23 Jan 2009 06:58:02 -0600, Jeremy Messenger wrote: >>> On Fri, 23 Jan 2009 03:47:38 -0600, Florent Thoumie wrote: >>> > On Thu, Jan 22, 2009 at 10:05 PM, Dmitry Marakasov >>> > >>> > wrote: >>> >> * Florent Thoumie (flz@xbsd.org) wrote: >>> >>> > If it's just a single file, the preferred way is to add >>> >>> > >>> >>> > PLIST_FILES= bin/program_name >>> >>> > >>> >>> > to the Makefile and not use pkg-plist at all. >>> >>> >>> >>> No, no, no. >>> >>> >>> >>> This is not *preferred*. >>> >> >>> >> Is it not? Why? There's no reason to introduce pkg-plist for just >>> >> a single file. >>> > >>> > This is just an alternative way of doing it. I, for one, don't like >>> > it. Same goes for PLIST_DIRS. >>> >>> +1 >> >> You are lucky guys you have not lived in USSR. otherwise you'd surely like >> alternative ways :) > > In soviet russia, alternative ways like you. > > I wish people remembered KISS more than TIMTOWTDI. > > -- > Florent Thoumie > flz@FreeBSD.org > FreeBSD Committer >