From owner-freebsd-ports@FreeBSD.ORG Wed Sep 26 12:06:53 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 384451065679 for ; Wed, 26 Sep 2012 12:06:53 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id E62458FC15 for ; Wed, 26 Sep 2012 12:06:52 +0000 (UTC) Received: from irix.bris.ac.uk ([137.222.10.39] helo=ncs.bris.ac.uk) by dirj.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1TGqNq-00073i-Vm for freebsd-ports@freebsd.org; Wed, 26 Sep 2012 13:06:45 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1TGqNq-0003Br-S7 for freebsd-ports@freebsd.org; Wed, 26 Sep 2012 13:06:30 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q8QC6URK072889 for ; Wed, 26 Sep 2012 13:06:30 +0100 (BST) (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q8QC6Umb072888 for freebsd-ports@freebsd.org; Wed, 26 Sep 2012 13:06:30 +0100 (BST) (envelope-from mexas) Date: Wed, 26 Sep 2012 13:06:30 +0100 (BST) From: Anton Shterenlikht Message-Id: <201209261206.q8QC6Umb072888@mech-cluster241.men.bris.ac.uk> To: freebsd-ports@freebsd.org X-Spam-Score: -1.7 X-Spam-Level: - Subject: do I need to specify explicity what to install for make install to work? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Sep 2012 12:06:53 -0000 I was updating my port until I got to make: don't know how to make install. Stop *** [do-install] Error code 2 and I realised that I don't really understand the sequence of commands involved in "make install". I've looked through the porter's handbook, but still not clear. I see lots of post-install targets in Makefiles, but never just "install". I presume it should be pulled into by .include Still, if I have a set of source files, generated object files, and just one executable I want to install, I probably have to specify somewhere in the Makefile the name of this executable, right? Or are PLIST_FILES and PLIST_DIRS used to let make know what to install? Thanks Anton