how to install a port without install: in the Makefile

Freddie Cash fjwcash at gmail.com
Mon Jan 19 13:40:52 PST 2009


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 executable from $WORKDIR to $LOCALBASE/bin

-- 
Freddie
fjwcash at gmail.com


More information about the freebsd-ports mailing list