1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup active_variants 1.1 |
---|
5 | PortGroup github 1.0 |
---|
6 | |
---|
7 | github.setup ryanoasis nerd-fonts 2.2.1 v |
---|
8 | name font-all-${github.project} |
---|
9 | revision 0 |
---|
10 | categories graphics |
---|
11 | maintainers {en.sent.com:macports @Raimondi} openmaintainer |
---|
12 | platforms darwin |
---|
13 | |
---|
14 | license none |
---|
15 | |
---|
16 | description Iconic font aggregator, collection, and patcher |
---|
17 | long_description Nerd Fonts is a project that patches developer targeted \ |
---|
18 | fonts with a high number of glyphs (icons). Specifically \ |
---|
19 | to add a high number of extra glyphs from popular 'iconic \ |
---|
20 | fonts' such as Font Awesome, Devicons, Octicons, and others. |
---|
21 | homepage https://www.nerdfonts.com/ |
---|
22 | |
---|
23 | set font.names { \ |
---|
24 | 3270 \ |
---|
25 | Agave \ |
---|
26 | AnonymousPro \ |
---|
27 | Arimo \ |
---|
28 | AurulentSansMono \ |
---|
29 | BigBlueTerminal \ |
---|
30 | BitstreamVeraSansMono \ |
---|
31 | CascadiaCode \ |
---|
32 | CodeNewRoman \ |
---|
33 | Cousine \ |
---|
34 | DaddyTimeMono \ |
---|
35 | DejaVuSansMono \ |
---|
36 | DroidSansMono \ |
---|
37 | FantasqueSansMono \ |
---|
38 | FiraCode \ |
---|
39 | FiraMono \ |
---|
40 | Go-Mono \ |
---|
41 | Gohu \ |
---|
42 | Hack \ |
---|
43 | Hasklig \ |
---|
44 | HeavyData \ |
---|
45 | Hermit \ |
---|
46 | iA-Writer \ |
---|
47 | IBMPlexMono \ |
---|
48 | Inconsolata \ |
---|
49 | InconsolataGo \ |
---|
50 | InconsolataLGC \ |
---|
51 | Iosevka \ |
---|
52 | JetBrainsMono \ |
---|
53 | Lekton \ |
---|
54 | LiberationMono \ |
---|
55 | Lilex \ |
---|
56 | Meslo \ |
---|
57 | Monofur \ |
---|
58 | Monoid \ |
---|
59 | Mononoki \ |
---|
60 | MPlus \ |
---|
61 | NerdFontsSymbolsOnly \ |
---|
62 | Noto \ |
---|
63 | OpenDyslexic \ |
---|
64 | Overpass \ |
---|
65 | ProFont \ |
---|
66 | ProggyClean \ |
---|
67 | RobotoMono \ |
---|
68 | ShareTechMono \ |
---|
69 | SourceCodePro \ |
---|
70 | SpaceMono \ |
---|
71 | Terminus \ |
---|
72 | Tinos \ |
---|
73 | Ubuntu \ |
---|
74 | UbuntuMono \ |
---|
75 | VictorMono \ |
---|
76 | } |
---|
77 | |
---|
78 | checksums \ |
---|
79 | 3270.zip \ |
---|
80 | rmd160 cf6f6ab2bca6798ca1862f69ef137df50863d3c0 \ |
---|
81 | sha256 161ba437475fb162058c9947a7f62e214006ea7f8b4bda1fb2a9ea19077bf9af \ |
---|
82 | size 23431027 \ |
---|
83 | Agave.zip \ |
---|
84 | rmd160 4822fefeb375ced2cd3359f103344cbf21da4c4a \ |
---|
85 | sha256 f27ac84205ef4fcbcc5d9454b8bfae5d39d8d92a9f384d0c122f548a654f74f6 \ |
---|
86 | size 2399417 \ |
---|
87 | AnonymousPro.zip \ |
---|
88 | rmd160 c7a068def0043b89c0a865a1d4d6892cf5e3a4ab \ |
---|
89 | sha256 bf2ef8da0b76fad541261853b6281fe3705083cd5c9718bf6aea5497d33317bd \ |
---|
90 | size 2387367 \ |
---|
91 | Arimo.zip \ |
---|
92 | rmd160 1b174a2b0454034a0c771f30d949ea4cac76d4ec \ |
---|
93 | sha256 5260211447ff71778c2f38f17bbdec2c480bf75c4f2a95e391f124edfc94f105 \ |
---|
94 | size 12378098 \ |
---|
95 | AurulentSansMono.zip \ |
---|
96 | rmd160 5448de53891b153b8b2da8fa0b9b37c5cdc5faad \ |
---|
97 | sha256 b107076e9783928722d794635f029f8a5b1c57b177946c1dc95b9402857bc8c3 \ |
---|
98 | size 5340389 \ |
---|
99 | BigBlueTerminal.zip \ |
---|
100 | rmd160 15abfc9dd6776b215219fc759628fb47403def40 \ |
---|
101 | sha256 1c256bde692058c21c4801b3ca5293ef555cb51a451e06ae7f33d046f0fb6c2b \ |
---|
102 | size 4323629 \ |
---|
103 | BitstreamVeraSansMono.zip \ |
---|
104 | rmd160 5b09f8ee9429726aaabc0f262efd1624406466c1 \ |
---|
105 | sha256 908e663d280122f4839539c3acf444d0a29609e61a8f4fa8a75f61af9fc601cc \ |
---|
106 | size 9257519 \ |
---|
107 | CascadiaCode.zip \ |
---|
108 | rmd160 8354464857123acde0f9e7ea7ec98ef576c97e82 \ |
---|
109 | sha256 06039f286c247cc5606bbc8267cdefcc01d1a1955b8da597a11c6b6fdc480c65 \ |
---|
110 | size 71045332 \ |
---|
111 | CodeNewRoman.zip \ |
---|
112 | rmd160 f7d00d619e78d19d38c0afda4bdce04400e74ea8 \ |
---|
113 | sha256 557eac726626332f35c7e19caa34a5933f1b6c396c034f4cae90aa7e8d5934ac \ |
---|
114 | size 21426654 \ |
---|
115 | Cousine.zip \ |
---|
116 | rmd160 ea7ecbd9e8aa20dd13c9c04d876cd64434625263 \ |
---|
117 | sha256 0d20332feb284938edbde0a376411e3cf1f7e5ad8aeedb8e92b67d37ef534a9c \ |
---|
118 | size 11394925 \ |
---|
119 | DaddyTimeMono.zip \ |
---|
120 | rmd160 71115af738a4b80a7f908efcb6b063e9040996b4 \ |
---|
121 | sha256 e067873e6fbf41f4118c847785050f44021be60ea4f809036c29d0cee2c20ece \ |
---|
122 | size 2140735 \ |
---|
123 | DejaVuSansMono.zip \ |
---|
124 | rmd160 d4966c7f99e8604a01dbffe7363adaccfed55ebc \ |
---|
125 | sha256 66738de79886608588f0b40847ab10702e9be00617030ca67a16d0ec427a80e8 \ |
---|
126 | size 11598207 \ |
---|
127 | DroidSansMono.zip \ |
---|
128 | rmd160 8d6ce082318ea11a1db815eef34a7625f1f3efac \ |
---|
129 | sha256 14e744ab94048937c1121556ba5af42b30b08560a383d9af9ec4d19c34b457d4 \ |
---|
130 | size 5660938 \ |
---|
131 | FantasqueSansMono.zip \ |
---|
132 | rmd160 bedc82adecf819330e1fb107dc60aa9d552cad4e \ |
---|
133 | sha256 817965dba9610b92dfa3d1afd231d73b6e8c2b4dff349aea221dcb17b27d547b \ |
---|
134 | size 10127156 \ |
---|
135 | FiraCode.zip \ |
---|
136 | rmd160 4cb593b5157e8c9b6a69b98775e6a4bb33863731 \ |
---|
137 | sha256 63410350230ad9c1873df4b1e154066d809cff2490e5bbc440f05d7967ee8e2f \ |
---|
138 | size 17136287 \ |
---|
139 | FiraMono.zip \ |
---|
140 | rmd160 a380d363a607dfa08f37535f6573428c5498ce49 \ |
---|
141 | sha256 e60a9f8cd097c2cbaa54dc08dc861d6d02809cfc0d35d60410648cefb1855c23 \ |
---|
142 | size 16652099 \ |
---|
143 | FontPatcher.zip \ |
---|
144 | rmd160 6a1de7bcd301ad5bff9ca9b48c4831275e98ac02 \ |
---|
145 | sha256 4133212973fa617afb73be0919eea15b770fb3f56a17e5946805a06b2e9b8ac5 \ |
---|
146 | size 635294 \ |
---|
147 | Go-Mono.zip \ |
---|
148 | rmd160 f994062541df29a005995bc0360530dba405e690 \ |
---|
149 | sha256 43ceac7fc36274fa51fcf85ad1ac5ece3088356d993323a1f9d728e75845de07 \ |
---|
150 | size 9976634 \ |
---|
151 | Gohu.zip \ |
---|
152 | rmd160 90404f35b759b71e87522a0a5bd0c0d02fdc0027 \ |
---|
153 | sha256 23f43a0b68c10818df40fc36269f969bc9f15a0d4cacd253e1d2dd9a4955dd37 \ |
---|
154 | size 9065598 \ |
---|
155 | Hack.zip \ |
---|
156 | rmd160 a52c0e2c5eaba8be829674c758f89d54471236d6 \ |
---|
157 | sha256 742f33105dc6eff192ad9e8b3b4406580ad418910c806c51551d9bb050f25d66 \ |
---|
158 | size 11241878 \ |
---|
159 | Hasklig.zip \ |
---|
160 | rmd160 f62a40f45cc09e4f2a0ed2f9a47a26b792eae07a \ |
---|
161 | sha256 cbb9b6f45c38c82d22c8e5130f93338b4663935277391d62e9234f4a1509f862 \ |
---|
162 | size 78659070 \ |
---|
163 | HeavyData.zip \ |
---|
164 | rmd160 e88ebce66367fd82ee481f08811df3ed02fd0c45 \ |
---|
165 | sha256 5717c64f0b98493416a96b061b7d3432eb1a5c3dc5aa830c8765078c69dc64fe \ |
---|
166 | size 2298515 \ |
---|
167 | Hermit.zip \ |
---|
168 | rmd160 e207458de43e7263cfaeb0f1c482e2eaa2835521 \ |
---|
169 | sha256 f4cc75d736f8657ee14a48429f492499886bfc5636da599ebbf0c95ecbc77010 \ |
---|
170 | size 16109916 \ |
---|
171 | iA-Writer.zip \ |
---|
172 | rmd160 e7bc6de1c6e37845720566a127d443da30c520bb \ |
---|
173 | sha256 a529dd2541418df2d3bd5362420c951001a9d9fe8238752bee1b081edb5d6b50 \ |
---|
174 | size 59513158 \ |
---|
175 | IBMPlexMono.zip \ |
---|
176 | rmd160 0e11a540de02fbbf10b4f7185a9dfaace19d527b \ |
---|
177 | sha256 56f87ab8dfd3070105006794954fbeb5f2adcddba342231622b8f1eec6589101 \ |
---|
178 | size 35914478 \ |
---|
179 | Inconsolata.zip \ |
---|
180 | rmd160 4a6b29e412fd25a4614b9758ef8117795c8b8ff0 \ |
---|
181 | sha256 31b11a9d95e863e42ff1e626673cf02feab63a6ecfc56202e990df73403dc403 \ |
---|
182 | size 15374138 \ |
---|
183 | InconsolataGo.zip \ |
---|
184 | rmd160 baf5ff148df724f1c54967807cbec53b72f5ad5d \ |
---|
185 | sha256 a122b4874cbc648cf83e4ea1e06a40912a42a28c21657dd08c6616e35b717480 \ |
---|
186 | size 4507623 \ |
---|
187 | InconsolataLGC.zip \ |
---|
188 | rmd160 5ef8d81ec319d98768d6817a1c273c167a478c48 \ |
---|
189 | sha256 dfb09bda79ae5c6f70a25875377dc1b43890c8a413fe96aad1685fee2d45a938 \ |
---|
190 | size 8712950 \ |
---|
191 | Iosevka.zip \ |
---|
192 | rmd160 6f952f4ccae398b9b6a3a06a5f277e20ef391aea \ |
---|
193 | sha256 317cf0db55def94629e833243ae6fca2ce8d67fbc341f23fcf4d56c18f45b392 \ |
---|
194 | size 485935837 \ |
---|
195 | JetBrainsMono.zip \ |
---|
196 | rmd160 cc9dfbc1baf88b2f33d39489f513c1175b90b2fe \ |
---|
197 | sha256 59dd2dc001a54e6d1c6c233449c51094650c0ef1fe76c87a8524eb5def4f1db8 \ |
---|
198 | size 76525934 \ |
---|
199 | Lekton.zip \ |
---|
200 | rmd160 88fd8d46382ba33f0f403d0d3d05ebda6260b846 \ |
---|
201 | sha256 c5352199d51cc5bb0b8a6ff34a343a2ebe0729016e230396be2ac595fece477e \ |
---|
202 | size 6491281 \ |
---|
203 | LiberationMono.zip \ |
---|
204 | rmd160 4d81baa0e6fc924fef3036debe8e136665737deb \ |
---|
205 | sha256 f53545d935ae2d4124bc1f88a67576457defb90f70829b8f8b6a77fa9e3cdd6b \ |
---|
206 | size 35990882 \ |
---|
207 | Lilex.zip \ |
---|
208 | rmd160 1fadd4a76a5a4272412d9e08fb24fa61afee7023 \ |
---|
209 | sha256 74872d00e17607cc187a8bc9617de907f43399a1784273da0f458c98a9afb43f \ |
---|
210 | size 32440141 \ |
---|
211 | Meslo.zip \ |
---|
212 | rmd160 33d2517b5a7789a6e6bcc283ed719c0075706c18 \ |
---|
213 | sha256 fa206721add4716ff6437fc2ea6e5b65c9dad8d5565117f80f13df7dd1261f98 \ |
---|
214 | size 72913911 \ |
---|
215 | Monofur.zip \ |
---|
216 | rmd160 fb66f9c0b42fc498fade63502300f00bded11637 \ |
---|
217 | sha256 965d3f193da2558192459755031cce852f422a13c75dec190eb503257eb5ab88 \ |
---|
218 | size 7592013 \ |
---|
219 | Monoid.zip \ |
---|
220 | rmd160 87389ee097667d893c30dd36f1e42cc01588d9d8 \ |
---|
221 | sha256 fde3177a9122ee229176a0fcff1920484efbd45f5f97a3fd57a5bef907e426ff \ |
---|
222 | size 9301247 \ |
---|
223 | Mononoki.zip \ |
---|
224 | rmd160 83412f9f182f3872cf12178ca382c6da944fa6b3 \ |
---|
225 | sha256 e1357cffce5ec75aad8b156e2f3ab577e528d655dd66489869ed154e2608e995 \ |
---|
226 | size 8777477 \ |
---|
227 | MPlus.zip \ |
---|
228 | rmd160 ce4a6d9547bb36feedcbe39010cfe13d9a4e61bb \ |
---|
229 | sha256 28f90c5045bf0789d5fd6522655bbcdfddc2495804babc0b4c2fb133bb4cba38 \ |
---|
230 | size 269816945 \ |
---|
231 | NerdFontsSymbolsOnly.zip \ |
---|
232 | rmd160 150e342e3c30555ae50c3c27b0423d6e635eb0d5 \ |
---|
233 | sha256 98b85c3d5a0d5d65caa196257a9b6476e5cbe54e5f21e5b13242c9e8c805bd63 \ |
---|
234 | size 4395272 \ |
---|
235 | Noto.zip \ |
---|
236 | rmd160 31f62f159208d28041a65aa053275db04da898bd \ |
---|
237 | sha256 7aedf5c319e04fd2496404f0aaeb93d1c05705caf0daba33d30ef04db2d2080f \ |
---|
238 | size 552342068 \ |
---|
239 | OpenDyslexic.zip \ |
---|
240 | rmd160 28a4639c96d429ff45aa8616f356cc580e2944c3 \ |
---|
241 | sha256 488a9313aff53be3de3b725ac5bf14c9d1cabbb7acfa5583387197c2a71ecf8f \ |
---|
242 | size 49262096 \ |
---|
243 | Overpass.zip \ |
---|
244 | rmd160 83812dd85ee754dfd405866284c6bbd6f51e2a7e \ |
---|
245 | sha256 2e875cdad756e6e6333648cadbae132b0b6a095378f5fd825b9ebb1fdafedc66 \ |
---|
246 | size 109734785 \ |
---|
247 | ProFont.zip \ |
---|
248 | rmd160 5436058f3fb9ed3360051dd0eb9bc6683de17d5e \ |
---|
249 | sha256 60df130d56589a0d8816b060c49b774b43171bd6fbbe3c226c3aeba1f1fc703a \ |
---|
250 | size 4254920 \ |
---|
251 | ProggyClean.zip \ |
---|
252 | rmd160 005d7695ea4047c1baeb159c090499a26e4c6df5 \ |
---|
253 | sha256 1f2ad0502af8dfc16e2cfc5cd7dc6708b08434c142420ee09dbe78ae7479ad6a \ |
---|
254 | size 6481431 \ |
---|
255 | RobotoMono.zip \ |
---|
256 | rmd160 fc44acb5a14d057adf50c32e1688899b9c6c6a3e \ |
---|
257 | sha256 bd12edab2367f0edc48aa95b022583798ab8f76aa4bdd00a8356853cf34dc973 \ |
---|
258 | size 25025197 \ |
---|
259 | ShareTechMono.zip \ |
---|
260 | rmd160 5b1605618f6fdddf7195a5c345b5e1d61855d55e \ |
---|
261 | sha256 f0a1775dd558430bba8fe073198cc9d1422d7fdccdfef53c4486bef9b838af27 \ |
---|
262 | size 2112555 \ |
---|
263 | SourceCodePro.zip \ |
---|
264 | rmd160 7938e9ab5be0262ff2e61527102c25f49f035280 \ |
---|
265 | sha256 f9c5cb60205f2945184f69e42460dd1289aa9d8effccc890c474307d1f9233bd \ |
---|
266 | size 33346483 \ |
---|
267 | SpaceMono.zip \ |
---|
268 | rmd160 6565f9fce55110b96aa66cd21396a15c5667ad53 \ |
---|
269 | sha256 9d04f1dcb5fac1afe59b0a0cdf4ba50d63f78032214ce9b682c216af00781789 \ |
---|
270 | size 8937351 \ |
---|
271 | Terminus.zip \ |
---|
272 | rmd160 ccddd1fb5beb18bc3cae5ffee348990e7003b757 \ |
---|
273 | sha256 c41a1cb3b5b8cfdd083090060202b41fe68f17db3f261d2215b55b9b5a34ce0b \ |
---|
274 | size 8614683 \ |
---|
275 | Tinos.zip \ |
---|
276 | rmd160 5838a0af38fedb4fd857d6e5943d08cafb256825 \ |
---|
277 | sha256 35b0c771731d03c405ab2a7d2fe52f4f091d30af6752e20d3c749e9048475d4f \ |
---|
278 | size 12537933 \ |
---|
279 | Ubuntu.zip \ |
---|
280 | rmd160 e2930eb3bef9350558c5b9b42efd26ae5f4fd271 \ |
---|
281 | sha256 9faff6388c3bcb35ce3df51a69c3985087656f1a698763029f6f15c9adbe93d6 \ |
---|
282 | size 23673537 \ |
---|
283 | UbuntuMono.zip \ |
---|
284 | rmd160 2216a6f951ed49da25b7eff6505c87600ab236fa \ |
---|
285 | sha256 de74e1b12bc6a6e444425582e69a55a49e0eed7a7d64799a8526811d5f52a1bc \ |
---|
286 | size 9704489 \ |
---|
287 | VictorMono.zip \ |
---|
288 | rmd160 070a268c7f4ed14ea034460a8aa0b12becc2a729 \ |
---|
289 | sha256 5522cb7afe165d42b97bd7cdd784b771c419f1b0e7a0b5979e10bfd4b43f4ebd \ |
---|
290 | size 50435060 |
---|
291 | |
---|
292 | set font.distfiles {FontPatcher.zip} |
---|
293 | foreach font.name ${font.names} { |
---|
294 | lappend font.distfiles ${font.name}.zip |
---|
295 | lappend font.subports font-${font.name}-${github.project} |
---|
296 | } |
---|
297 | distfiles {*}${font.distfiles} |
---|
298 | conflicts {*}${font.subports} |
---|
299 | |
---|
300 | foreach font.name ${font.names} { |
---|
301 | subport font-${font.name}-${github.project} { |
---|
302 | distfiles ${font.name}.zip |
---|
303 | conflicts "font-all-${github.project}" |
---|
304 | } |
---|
305 | } |
---|
306 | |
---|
307 | subport font-patcher-${github.project} { |
---|
308 | distfiles FontPatcher.zip |
---|
309 | conflicts "font-all-${github.project}" |
---|
310 | } |
---|
311 | |
---|
312 | github.tarball_from releases |
---|
313 | |
---|
314 | use_zip yes |
---|
315 | pre-extract { |
---|
316 | # Allow overwritting readme files |
---|
317 | extract.pre_args-append -o |
---|
318 | } |
---|
319 | post-extract { |
---|
320 | if {[file isdirectory ${workpath}/Gohu]} { |
---|
321 | # Gohu fonts are extracted to their own directory tree |
---|
322 | foreach font.type {11 14 uni-11 uni-14} { |
---|
323 | move "${workpath}/Gohu/${font.type}/complete/GohuFont Nerd Font Complete Mono.ttf" "${workpath}/GohuFont Nerd Font Complete Mono ${font.type}.ttf" |
---|
324 | move "${workpath}/Gohu/${font.type}/complete/GohuFont Nerd Font Complete.ttf" "${workpath}/GohuFont Nerd Font Complete ${font.type}.ttf" |
---|
325 | } |
---|
326 | } |
---|
327 | # We don't need windows files |
---|
328 | foreach file [glob -directory ${workpath} {*Windows Compatible.*}] { |
---|
329 | delete $file |
---|
330 | } |
---|
331 | } |
---|
332 | |
---|
333 | use_configure no |
---|
334 | build {} |
---|
335 | |
---|
336 | destroot.violate_mtree yes |
---|
337 | destroot { |
---|
338 | # copy fonts |
---|
339 | set font.dir ${destroot}/Library/Fonts/ |
---|
340 | xinstall -d ${font.dir} |
---|
341 | set font.files [glob -nocomplain ${workpath}/*.{ttf,TTF}] |
---|
342 | if {[llength ${font.files}]} { |
---|
343 | copy {*}${font.files} ${font.dir} |
---|
344 | } |
---|
345 | # copy scripts |
---|
346 | set font.scripts [glob -nocomplain ${workpath}/bin/scripts/name_parser/*.py] |
---|
347 | if {[llength ${font.scripts}]} { |
---|
348 | xinstall -m 0755 {*}${font.scripts} ${destroot}/${prefix}/bin |
---|
349 | } |
---|
350 | # copy glyphs |
---|
351 | if {[file isdirectory ${workpath}/src]} { |
---|
352 | xinstall -d ${destroot}/${prefix}/share/${subport} |
---|
353 | copy ${workpath}/src/glyphs ${destroot}/${prefix}/share/${subport} |
---|
354 | } |
---|
355 | } |
---|