how to install a port without install: in the Makefile

Stephen Montgomery-Smith stephen at math.missouri.edu
Fri Jan 23 08:08:09 PST 2009


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.




More information about the freebsd-ports mailing list