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 | |
---|
5 | PortGroup Makefile 1.0 |
---|
6 | |
---|
7 | name codegroup |
---|
8 | |
---|
9 | version 20080907 |
---|
10 | |
---|
11 | categories comms |
---|
12 | |
---|
13 | platforms darwin |
---|
14 | |
---|
15 | license Public Domain |
---|
16 | |
---|
17 | maintainers RobK88 |
---|
18 | |
---|
19 | description ${name} encodes and decodes arbitrary binary data in five-letter code groups, just like spies use! |
---|
20 | |
---|
21 | long_description ${name} encodes any file into five-letter code groups, allowing it to be transmitted through any medium, and decodes files containing codegroups into the original input. \ |
---|
22 | Encoded files contain a 16-bit cyclical redundancy check (CRC) and file size to verify, when decoded, that the message is complete and correct. \ |
---|
23 | Files being decoded may contain other information before and after the codegroups, allowing in-the-clear annotations to be included. \ |
---|
24 | \n |
---|
25 | \n${name} makes no attempt, on its own, to prevent your message from being read. Cryptographic security should be delegated to a package intended for that purpose, such as pgp. \ |
---|
26 | ${name} can then be applied to the encrypted binary output, transforming it into easily transmitted text. Text created by ${name} uses only upper case ASCII letters and spaces. \ |
---|
27 | Unlike files encoded with uuencode or pgp's “ASCII armour” facility, the output of ${name} can be easily (albeit tediously) read over the telephone, broadcast by shortwave radio to agents in the field, \ |
---|
28 | or sent by telegram, telex, or Morse code. \ |
---|
29 | \n |
---|
30 | \nOnly ${name} conforms to the telegraphic convention of all upper case letters, and passes the “telephone test” of being readable without any modifiers such as “capital” and “lower-case”. \ |
---|
31 | Avoiding punctuation marks and lower case letters makes the output of ${name} much easier to transmit over a voice or traditional telegraphic link. |
---|
32 | |
---|
33 | homepage https://www.fourmilab.ch/codegroup/ |
---|
34 | |
---|
35 | master_sites https://www.fourmilab.ch/codegroup/ |
---|
36 | |
---|
37 | distname codegroup |
---|
38 | |
---|
39 | checksums rmd160 d00f22c278df6bcf25dfc123da026dee8d31da4e \ |
---|
40 | sha256 fe0dfb5b320b97afd0b639c76a796426bcad50a33a05399ecddde0189133b45b \ |
---|
41 | size 69123 |
---|
42 | |
---|
43 | use_zip yes |
---|
44 | |
---|
45 | use_configure no |
---|
46 | |
---|
47 | test.run yes |
---|
48 | |
---|
49 | destroot { |
---|
50 | |
---|
51 | xinstall -m 755 -d ${destroot}${prefix}/bin |
---|
52 | xinstall -m 755 ${worksrcpath}/codegroup ${destroot}${prefix}/bin |
---|
53 | |
---|
54 | xinstall -m 755 -d ${destroot}${prefix}/share/man/man1 |
---|
55 | xinstall -m 755 ${worksrcpath}/codegroup.1 ${destroot}${prefix}/share/man/man1 |
---|
56 | |
---|
57 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} |
---|
58 | xinstall -m 644 ${worksrcpath}/codegroup.html ${destroot}${prefix}/share/doc/${name} |
---|
59 | xinstall -m 644 ${worksrcpath}/codegroup.jpeg ${destroot}${prefix}/share/doc/${name} |
---|
60 | |
---|
61 | } |
---|
62 | |
---|
63 | |
---|