Ticket #54258: Portfile-colout.diff
File Portfile-colout.diff, 2.0 KB (added by 1-61803, 7 years ago) |
---|
-
textproc/colout/Portfile
old new 4 4 PortGroup github 1.0 5 5 PortGroup python 1.0 6 6 7 github.setup nojhan colout 0.4 v 8 revision 2 7 github.setup nojhan colout 0.5 v 8 9 categories textproc 10 platforms darwin 11 license GPL-3 9 12 maintainers g5pw openmaintainer 10 13 11 categories textproc python 12 description Color Up Arbitrary Command Ouput. 14 description Color Up Arbitrary Command Ouput 13 15 long_description ${name} read lines of text stream on the standard input and \ 14 16 output characters matching a given regular expression \ 15 PATTERN in given and STYLE.17 PATTERN in given COLOR and STYLE. 16 18 17 platforms darwin 18 license GPL-3 19 homepage http://nojhan.github.io/colout/ 19 20 20 checksums rmd160 039011f4838db54eaa5fc59c7ef7805f79a95284\21 sha256 91cfc982ecb0d88bf484bb4f7f6dc61f57005883ca280d354c2a5683f7b9459e21 checksums rmd160 91a5eea8af8ad88debb56d67026333784e65ed47 \ 22 sha256 2e35f18f4240b080d0579c3410726f79121ae373107fb72315e17cff02060ece 22 23 23 python.default_version 34 24 python.default_version \ 25 36 24 26 25 27 patch { 26 28 reinplace -W ${worksrcpath} s|python3|${python.bin}| \ 27 29 bin/colout \ 28 30 colout/colout.py \ 29 setup.py \ 30 README.md 31 setup.py 32 } 33 34 post-destroot { 35 set docdir ${prefix}/share/doc/${subport} 36 xinstall -d ${destroot}${docdir} 37 xinstall -m 644 -W ${worksrcpath} \ 38 LICENSE \ 39 README.md \ 40 ${destroot}${docdir} 31 41 } 32 42 33 43 livecheck.type none