Files
Robert Kennedy 4c4ae2f5b4 codegroup: fix livecheck
* disable livecheck
* Change "patchfiles" to "patchfiles-append"
2023-11-19 17:11:33 -05:00

77 lines
3.5 KiB
Tcl

# -*- 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
PortSystem 1.0
PortGroup makefile 1.0
name codegroup
version 20080907
categories comms
platforms darwin
license public-domain
maintainers {hotmail.com:amtor @RobK88} \
openmaintainer
description ${name} encodes and decodes arbitrary binary data \
in five-letter code groups, just like spies use!
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. Encoded files contain a \
16-bit cyclical redundancy check (CRC) and file \
size to verify, when decoded, that the message is \
complete and correct. Files being decoded may \
contain other information before and after the \
codegroups, allowing in-the-clear annotations to \
be included. \
\n \
\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. ${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. 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, or sent by telegram, \
telex, or Morse code. \
\n \
\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. \
Avoiding punctuation marks and lower case letters \
makes the output of ${name} much easier to \
transmit over a voice or traditional telegraphic \
link.
homepage https://www.fourmilab.ch/codegroup/
master_sites ${homepage}
dist_subdir ${name}/${version}
distname ${name}
use_zip yes
checksums rmd160 d00f22c278df6bcf25dfc123da026dee8d31da4e \
sha256 fe0dfb5b320b97afd0b639c76a796426bcad50a33a05399ecddde0189133b45b \
size 69123
extract.mkdir yes
patchfiles-append Makefile.patch
test.run yes
test.target check
destroot {
xinstall -m 755 ${worksrcpath}/codegroup ${destroot}${prefix}/bin
xinstall -m 755 ${worksrcpath}/codegroup.1 ${destroot}${prefix}/share/man/man1
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 ${worksrcpath}/codegroup.html ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 ${worksrcpath}/codegroup.jpg ${destroot}${prefix}/share/doc/${name}
}
livecheck.type none