Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jan 2009 08:46:32 -0700
From:      Steve Franks <bahamasfranks@gmail.com>
To:        Florent Thoumie <flz@xbsd.org>
Cc:        Olivier SMEDTS <olivier@gid0.org>, Jeremy Messenger <mezz7@cox.net>, ports@freebsd.org, Dmitry Marakasov <amdmi3@amdmi3.ru>, freebsd-ports@freebsd.org
Subject:   Re: how to install a port without install: in the Makefile
Message-ID:  <539c60b90901230746o5a7dc2b5g735f17837de1480a@mail.gmail.com>
In-Reply-To: <a01628140901230619n4e385d74sf0079b8214f70cce@mail.gmail.com>
References:  <539c60b90901191200n66f37c76k749ebbb829378cb9@mail.gmail.com> <a01628140901230147y2be65b4eu66e7250f4d078c45@mail.gmail.com> <op.un7nnoz79aq2h7@localhost> <200901231622.53940.makc@issp.ac.ru> <a01628140901230619n4e385d74sf0079b8214f70cce@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <flz@xbsd.org> wrote:
> On Fri, Jan 23, 2009 at 1:22 PM, Max Brazhnikov <makc@issp.ac.ru> wrote:
>> On Fri, 23 Jan 2009 06:58:02 -0600, Jeremy Messenger wrote:
>>> On Fri, 23 Jan 2009 03:47:38 -0600, Florent Thoumie <flz@xbsd.org> wrote:
>>> > On Thu, Jan 22, 2009 at 10:05 PM, Dmitry Marakasov <amdmi3@amdmi3.ru>
>>> >
>>> > 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
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?539c60b90901230746o5a7dc2b5g735f17837de1480a>