Re: how to install a port without install: in the Makefile

2009-01-30 Thread Steve Franks
On Wed, Jan 28, 2009 at 12:54 AM, Florent Thoumie wrote: > On Wed, Jan 28, 2009 at 4:56 AM, Dmitry Marakasov wrote: >> * Florent Thoumie (f...@xbsd.org) wrote: >> >>> > You are lucky guys you have not lived in USSR. otherwise you'd surely like >>> > alternative ways :) >>> >>> In soviet russia, a

Re: how to install a port without install: in the Makefile

2009-01-27 Thread Florent Thoumie
On Wed, Jan 28, 2009 at 4:56 AM, Dmitry Marakasov wrote: > * Florent Thoumie (f...@xbsd.org) wrote: > >> > 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

Re: how to install a port without install: in the Makefile

2009-01-27 Thread Dmitry Marakasov
* Florent Thoumie (f...@xbsd.org) wrote: > > 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. PLIST_* seems S enough for me :) -- Dmitry Ma

Re: how to install a port without install: in the Makefile

2009-01-23 Thread Florent Thoumie
On Fri, Jan 23, 2009 at 7:12 PM, Doug Barton wrote: > Florent Thoumie wrote: >> It's not about installing files but rather registering them. >> PLIST_FILES/PLIST_DIRS is just a way to replace pkg-plist, for wrong >> reasons. > > I respectfully disagree my friend. :) There was a time back when > d

Re: how to install a port without install: in the Makefile

2009-01-23 Thread Doug Barton
Florent Thoumie wrote: > It's not about installing files but rather registering them. > PLIST_FILES/PLIST_DIRS is just a way to replace pkg-plist, for wrong > reasons. I respectfully disagree my friend. :) There was a time back when disks were a lot smaller that saving inodes was a noble thing. N

Re: how to install a port without install: in the Makefile

2009-01-23 Thread Alexey Shuvaev
On Fri, Jan 23, 2009 at 08:46:32AM -0700, 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 ^ WRKDIR or WR

Re: how to install a port without install: in the Makefile

2009-01-23 Thread Stephen Montgomery-Smith
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 'rea

Re: how to install a port without install: in the Makefile

2009-01-23 Thread Florent Thoumie
On Fri, Jan 23, 2009 at 3:46 PM, 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

Re: how to install a port without install: in the Makefile

2009-01-23 Thread Steve Franks
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 n

Re: how to install a port without install: in the Makefile

2009-01-23 Thread Florent Thoumie
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 (f...@xbsd.org) wrot

Re: how to install a port without install: in the Makefile

2009-01-23 Thread Max Brazhnikov
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 (f...@xbsd.org) wrote: > >>> > If it's just a single file, the preferred way is to

Re: how to install a port without install: in the Makefile

2009-01-23 Thread Jeremy Messenger
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 (f...@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-p

Re: how to install a port without install: in the Makefile

2009-01-23 Thread Florent Thoumie
On Thu, Jan 22, 2009 at 10:05 PM, Dmitry Marakasov wrote: > * Florent Thoumie (f...@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

Re: how to install a port without install: in the Makefile

2009-01-22 Thread Florent Thoumie
On Thu, Jan 22, 2009 at 5:44 PM, Dmitry Marakasov wrote: > * Olivier SMEDTS (oliv...@gid0.org) wrote: > >> and of course you must have "bin/program_name" in pkg-plist. > > If it's just a single file, the preferred way is to add > > PLIST_FILES=bin/program_name > > to the Makefile and not use p

Re: how to install a port without install: in the Makefile

2009-01-22 Thread Dmitry Marakasov
* Florent Thoumie (f...@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-pli

Re: how to install a port without install: in the Makefile

2009-01-22 Thread Steve Franks
>> >>> and of course you must have "bin/program_name" in pkg-plist. >> >> 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*. > Well, what is, then? ... Stev

Re: how to install a port without install: in the Makefile

2009-01-22 Thread Dmitry Marakasov
* Olivier SMEDTS (oliv...@gid0.org) wrote: > and of course you must have "bin/program_name" in pkg-plist. 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. -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56

Re: how to install a port without install: in the Makefile

2009-01-19 Thread Freddie Cash
On January 19, 2009 12:00 pm Steve Franks wrote: > I got me a port that just builds a single executable. What's the > proper way to set up the port makefile to copy that to /usr/local/bin? Add a do-install: section to the port Makefile, and put in the $INSTALL line(s) as needed to copy the execu

Re: how to install a port without install: in the Makefile

2009-01-19 Thread Olivier SMEDTS
2009/1/19 Steve Franks : > I got me a port that just builds a single executable. What's the > proper way to set up the port makefile to copy that to /usr/local/bin? I'd use : do-install: ${INSTALL_PROGRAM} ${WRKSRC}/program_name ${PREFIX}/bin/ > > Thanks, > Steve > _

Re: how to install a port without install: in the Makefile

2009-01-19 Thread Olivier SMEDTS
2009/1/19 Olivier SMEDTS : > 2009/1/19 Steve Franks : >> I got me a port that just builds a single executable. What's the >> proper way to set up the port makefile to copy that to /usr/local/bin? > > I'd use : > > do-install: > ${INSTALL_PROGRAM} ${WRKSRC}/program_name ${PREFIX}/bin/ and of cours

how to install a port without install: in the Makefile

2009-01-19 Thread Steve Franks
I got me a port that just builds a single executable. What's the proper way to set up the port makefile to copy that to /usr/local/bin? Thanks, Steve ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To u