Ticket #64032: portfile

File portfile, 3.1 KB (added by RobK88, 3 years ago)

portfile for codegroup program

Line 
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
3PortSystem          1.0
4
5PortGroup           Makefile 1.0
6
7name                codegroup
8
9version             20080907
10
11categories          comms
12
13platforms           darwin
14
15license             PublicDomain
16
17maintainers         hotmail.com:amtor\
18                    openmaintainer
19
20description         ${name} encodes and decodes arbitrary binary data in five-letter code groups, just like spies use!
21
22long_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. \
23                    Encoded files contain a 16-bit cyclical redundancy check (CRC) and file size to verify, when decoded, that the message is complete and correct. \
24                    Files being decoded may contain other information before and after the codegroups, allowing in-the-clear annotations to be included. \
25                    \n\
26                    \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. \
27                    ${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. \
28                    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, \
29                    or sent by telegram, telex, or Morse code. \
30                    \n\
31                    \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. \
32                    Avoiding punctuation marks and lower case letters makes the output of ${name} much easier to transmit over a voice or traditional telegraphic link.
33
34homepage            https://www.fourmilab.ch/codegroup/
35
36master_sites        https://www.fourmilab.ch/codegroup/
37
38distname            ${name}
39
40checksums           rmd160  d00f22c278df6bcf25dfc123da026dee8d31da4e \
41                    sha256  fe0dfb5b320b97afd0b639c76a796426bcad50a33a05399ecddde0189133b45b \
42                    size    69123
43                   
44worksrcdir          ./
45                   
46use_zip             yes
47
48use_configure       no
49
50test.run            yes
51
52destroot {
53   
54    xinstall -m 755 -d ${destroot}${prefix}/bin
55    xinstall -m 755 ${worksrcpath}/codegroup ${destroot}${prefix}/bin
56   
57    xinstall -m 755 -d ${destroot}${prefix}/share/man/man1
58    xinstall -m 755 ${worksrcpath}/codegroup.1 ${destroot}${prefix}/share/man/man1
59   
60    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
61    xinstall -m 644 ${worksrcpath}/codegroup.html ${destroot}${prefix}/share/doc/${name}
62    xinstall -m 644 ${worksrcpath}/codegroup.jpg ${destroot}${prefix}/share/doc/${name}
63
64}
65