Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Apr 2019 11:08:28 -0600
From:      Adam Weinberger <adamw@adamw.org>
To:        Hyun Hwang <hyun@caffeinated.codes>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: Can two ports have master-slave relatioship across categories?
Message-ID:  <CAP7rwchOjWLZZ48Pw-JnnT8k%2B1E6rFVKZ2AEpic1khNKQyduXA@mail.gmail.com>
In-Reply-To: <c9f6acf7-ae91-416c-9cdd-7a06299fa470@www.fastmail.com>
References:  <c9f6acf7-ae91-416c-9cdd-7a06299fa470@www.fastmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 14, 2019 at 10:36 AM Hyun Hwang <hyun@caffeinated.codes> wrote:
>
> Hi,
>
> Source Han Sans is a font that supports 4 East Asian languages at the same time. Thus initially, I have split the font into four when porting; chinese/sourcehansans-{sc,tc}-otf, {japanese,korean}/sourcehansans-otf, respectively.
> These four have all their own Makefile, pkg-plist, distinfo, ..., which now I think are great redundancy. This is what master and slave ports are for, right?
>
> Question is: can these four have a master-slave relationship across their respective categories?
> I have schemed the Porter's Handbook, but it does not mention anything about redefining essential variables such as CATEGORIES, etc.

Hi Harold,

Absolutely! There's essentially no limit to what can be redefined.
Just use CATEGORIES?= in the master.

# Adam


-- 
Adam Weinberger
adamw@adamw.org
https://www.adamw.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAP7rwchOjWLZZ48Pw-JnnT8k%2B1E6rFVKZ2AEpic1khNKQyduXA>