Commits
Renee Otten authored 0a7895e73b2
1 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 2 | |
3 3 | PortSystem 1.0 |
4 4 | PortGroup github 1.0 |
5 5 | PortGroup python 1.0 |
6 6 | |
7 - | github.setup garabik grc 1.11.1 v |
7 + | github.setup garabik grc 1.11.3 v |
8 + | revision 0 |
8 9 | |
9 10 | conflicts cc65 |
10 11 | |
11 12 | categories textproc |
12 13 | platforms darwin |
13 14 | license GPL-2 |
14 15 | maintainers nomaintainer |
15 16 | supported_archs noarch |
16 17 | |
17 18 | description Generic Colouriser for colourising logfiles and output of commands |
18 19 | long_description Generic Colouriser makes text files or outputs of different programs \ |
19 20 | more readable by inserting ANSI colour control codes into them. \ |
20 21 | It provides the grc and grcat Python scripts for filtering \ |
21 22 | text output and colourising it. |
22 23 | |
23 - | homepage http://kassiopeia.juls.savba.sk/~garabik/software/grc.html |
24 + | checksums rmd160 f494d0850098fc81ca26d623ed9f01cbe0d44b3c \ |
25 + | sha256 7c76fff1b0dc70a27b07fb3f0f7007518afa07f6804019037957a922a2ac98ec \ |
26 + | size 45192 |
24 27 | |
25 - | checksums rmd160 70e3c1a513e0b545bb23ed1e26024d53268700a9 \ |
26 - | sha256 74cd25fdca3fa8a572ad086d09c0cb4597a47de9e839903bad1826ed7ca50935 |
28 + | python.versions 27 35 36 |
27 29 | |
28 - | python.versions 27 34 35 36 |
29 - | |
30 - | variant python27 conflicts python34 python35 python36 description {Use Python 2.7} { |
30 + | variant python27 conflicts python35 python36 description {Use Python 2.7} { |
31 31 | python.default_version 27 |
32 32 | } |
33 - | variant python34 conflicts python27 python35 python36 description {Use Python 3.4} { |
34 - | python.default_version 34 |
35 - | } |
36 - | variant python35 conflicts python27 python34 python36 description {Use Python 3.5} { |
33 + | variant python35 conflicts python27 python36 description {Use Python 3.5} { |
37 34 | python.default_version 35 |
38 35 | } |
39 - | variant python36 conflicts python27 python34 python35 description {Use Python 3.6} { |
36 + | variant python36 conflicts python27 python35 description {Use Python 3.6} { |
40 37 | python.default_version 36 |
41 38 | } |
42 - | if {![variant_isset python34] && ![variant_isset python35] && ![variant_isset python36]} { |
39 + | if {![variant_isset python35] && ![variant_isset python36]} { |
43 40 | default_variants +python27 |
44 41 | } |
45 42 | |
46 43 | build {} |
47 44 | destroot {} |
48 45 | post-destroot { |
49 46 | reinplace "s|#! /usr/bin/env python3|#!${python.bin}|" \ |
50 47 | ${worksrcpath}/grc ${worksrcpath}/grcat |
51 48 | reinplace "s|/etc|${prefix}/etc|g" \ |
52 49 | ${worksrcpath}/grc ${worksrcpath}/grc.1 |