Summary: | x11-fonts/fantasque-sans-mono: Add options to install variants | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Jonathan Chen <jonc> | ||||||
Component: | Individual Port(s) | Assignee: | Raphael Kubo da Costa <rakuco> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | Flags: | rakuco:
maintainer-feedback+
|
||||||
Priority: | --- | ||||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Thanks for the patch. You can simplify the Makefile by using OPTIONs helpers: instead of including bsd.port.options.mk, you can do something like NORMAL_EXTRACT_ONLY= foo.tar.gz Created attachment 193367 [details]
Variant support
Simplified the patch with OPTION helpers.
A commit references this bug: Author: rakuco Date: Mon May 14 10:24:24 UTC 2018 New revision: 469874 URL: https://svnweb.freebsd.org/changeset/ports/469874 Log: Add options to install variants. Fantasque Sans Mono distribution site has variants aside from the standard version. Add options to allow installing those variants. PR: 228206 Submitted by: Jonathan Chen <jonc@chen.org.nz> Changes: head/x11-fonts/fantasque-sans-mono/Makefile head/x11-fonts/fantasque-sans-mono/distinfo Committed, thanks. I also bumped PORTREVISION since the port's options have changed (sorry I forgot to mention this before). A commit references this bug: Author: rakuco Date: Mon May 14 20:26:49 UTC 2018 New revision: 469962 URL: https://svnweb.freebsd.org/changeset/ports/469962 Log: Set DISTFILES as OPTIONs helpers. This allows one to only download the tarball corresponding to the chosen VARIANT option, at the expense of making `make makesum' more cumbersome to run (so add a comment to remind me of how to do it). PR: 228206 Submitted by: tobik Changes: head/x11-fonts/fantasque-sans-mono/Makefile |
Created attachment 193343 [details] Variant options Fantasque Sans Mono distribution site has variants aside from the standard version. The supplied patches adds options to allow installation of those variants.