From owner-freebsd-ports@FreeBSD.ORG Fri Jul 15 22:27:08 2005 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 89ECE16A41C for ; Fri, 15 Jul 2005 22:27:08 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3026D43D45 for ; Fri, 15 Jul 2005 22:27:08 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id j6FMR71f015570; Fri, 15 Jul 2005 15:27:07 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j6FMR7WO015569; Fri, 15 Jul 2005 15:27:07 -0700 Date: Fri, 15 Jul 2005 15:27:07 -0700 From: Brooks Davis To: Paul Schmehl Message-ID: <20050715222707.GE337@odin.ac.hmc.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: ports@freebsd.org Subject: Re: New port problems X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2005 22:27:08 -0000 On Fri, Jul 15, 2005 at 04:28:27PM -0500, Paul Schmehl wrote: > I'm working on a new port. This port needs to grab a tar.gz file, unzip it > and then copy two files to the right directories (one to /usr/local/bin, > the other to /usr/local/etc) and put the docs in the right dir. > > So, I'm using NO_BUILD= yes > > But, when I try to install the port, I get the error "make: cannot open > Makefile. > *** Error code 2". Obviously, the port is still trying to compile from > source, even though I've used NO_BUILD. Is there a trick I'm missing? Is > there a specific order that NO_BUILD needs to appear in, in the Makefile? > > Here's the entire Makefile, if that helps. (The LIB_DEPENDS line is > commented out because, right now, the tclX port doesn't build, so I have to > test without it for now): > Here's your problem: > post-install: > ${INSTALL_SCRIPT} -m 751 ${WRKSRC}/client/sguil.tk ... you need to set do-install if you don't want the system attempt to perform a "make install". -- Brooks