Can two ports have master-slave relatioship across categories?

Adam Weinberger adamw at adamw.org
Sun Apr 14 17:08:46 UTC 2019


On Sun, Apr 14, 2019 at 10:36 AM Hyun Hwang <hyun at 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 at adamw.org
https://www.adamw.org


More information about the freebsd-ports mailing list