Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Mar 1997 23:02:18 -0500 (EST)
From:      Chuck Robey <chuckr@glue.umd.edu>
To:        "Brian N. Handy" <handy@sag.space.lockheed.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: ports makefile Q
Message-ID:  <Pine.OSF.3.95q.970314230025.16841B-100000@professor.eng.umd.edu>
In-Reply-To: <Pine.OSF.3.95q.970314184439.5473l-100000@sag.space.lockheed.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <platform>', done
> by specifying 'ALL_TARGET=<platform>'. 
> 
> To install the package, I have to do a 
> 
> 	'make -f makefile.<platform> install'.

Simplest way?

install:
	make -f $(WRKSRC)/makefile.<platform> 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!
----------------------------+-----------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.95q.970314230025.16841B-100000>