how to install a port without install: in the Makefile

Florent Thoumie flz at xbsd.org
Fri Jan 23 08:04:10 PST 2009


On Fri, Jan 23, 2009 at 3:46 PM, Steve Franks <bahamasfranks at gmail.com> 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...

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.

-- 
Florent Thoumie
flz at FreeBSD.org
FreeBSD Committer


More information about the freebsd-ports mailing list