Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 2009 13:15:24 -0800
From:      Freddie Cash <fjwcash@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: how to install a port without install: in the Makefile
Message-ID:  <200901191315.24807.fjwcash@gmail.com>
In-Reply-To: <539c60b90901191200n66f37c76k749ebbb829378cb9@mail.gmail.com>
References:  <539c60b90901191200n66f37c76k749ebbb829378cb9@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@gmail.com



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