Can two ports have master-slave relatioship across categories?

Hyun Hwang hyun at caffeinated.codes
Sun Apr 14 17:10:19 UTC 2019


Cool! I'll start working on "enslaving" other three.

Thanks!
--
Hyun "Harold" Hwang


On Sunday, April 14, 2019, 1:08 PM (UTC-04:00), Adam Weinberger <adamw at adamw.org> wrote:
> 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