Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 May 2009 22:30:35 -0500
From:      Scot Hetzel <swhetzel@gmail.com>
To:        "Philip M. Gollucci" <pgollucci@p6m7g8.com>
Cc:        ports@freebsd.org, pav@freebsd.org
Subject:   Re: bsd.port.options.mk
Message-ID:  <790a9fff0905212030g19c8e5d7ib4f53973fb9b5afe@mail.gmail.com>
In-Reply-To: <4A160F2B.90004@p6m7g8.com>
References:  <200905220000.n4M000Ek087199@elektra.rws> <4A160F2B.90004@p6m7g8.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 21, 2009 at 9:34 PM, Philip M. Gollucci
<pgollucci@p6m7g8.com> wrote:
>> +20090521:
>> +AUTHOR: portmgr@FreeBSD.org
>> +
>> + =A0* bsd.port.options.mk is now clear to be widely used.
>> +
>
> Are there any existing examples of how one should use this or porters
> handbook sections ?
>

The comments in bsd.port.options.mk shows how to use it:

#-*- mode: Fundamental; tab-width: 4; -*-
# ex:ts=3D4
#
# bsd.port.options.mk - Allow OPTIONS to determine dependencies
#
# usage:
#
#	.include "bsd.port.options.mk"
#	<deal with user options>
#	.include "bsd.port.pre.mk"
#	<other work, including adjusting dependencies>
#	.include "bsd.port.post.mk"
#
# Created by: Shaun Amott <shaun@inerd.com>
#
# $FreeBSD: ports/Mk/bsd.port.options.mk,v 1.2 2007/05/24 22:13:55 pav Exp =
$
#

Scot



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