From owner-freebsd-ports Fri Mar 14 20:02:26 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA03566 for ports-outgoing; Fri, 14 Mar 1997 20:02:26 -0800 (PST) Received: from po1.glue.umd.edu (root@po1.glue.umd.edu [129.2.128.44]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA03561 for ; Fri, 14 Mar 1997 20:02:23 -0800 (PST) Received: from professor.eng.umd.edu (professor.eng.umd.edu [129.2.103.23]) by po1.glue.umd.edu (8.8.5/8.8.5) with ESMTP id XAA28093; Fri, 14 Mar 1997 23:02:19 -0500 (EST) Received: from localhost (chuckr@localhost) by professor.eng.umd.edu (8.8.5/8.6.4) with SMTP id XAA18067; Fri, 14 Mar 1997 23:02:18 -0500 (EST) X-Authentication-Warning: professor.eng.umd.edu: chuckr owned process doing -bs Date: Fri, 14 Mar 1997 23:02:18 -0500 (EST) From: Chuck Robey X-Sender: chuckr@professor.eng.umd.edu To: "Brian N. Handy" cc: freebsd-ports@freebsd.org Subject: Re: ports makefile Q In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Fri, 14 Mar 1997, Brian N. Handy wrote: > Heya all, > > I'm trying to make a port of a program called "saoimage", and I'm running > into some problems. > > Specifically, it has specific targets to make it. For instance, to 'make > all' I've figured out what I really have to do is 'make ', done > by specifying 'ALL_TARGET='. > > To install the package, I have to do a > > 'make -f makefile. install'. Simplest way? install: make -f $(WRKSRC)/makefile. install There are a lot of hooks for stuff like this in the bsd.port.mk makefile, under the "build" target. > > Is there a correct way to do this? > > Thanks > > Brian > > ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@eng.umd.edu | communications topic, C programming, and Unix. 9120 Edmonston Ct #302 | Greenbelt, MD 20770 | I run Journey2 and picnic, both FreeBSD (301) 220-2114 | version 3.0 current -- and great FUN! ----------------------------+-----------------------------------------------