Only in .: .DS_Store
Only in .: .git
Only in .: .gitignore
diff -u /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/boxes/Portfile ./Portfile
old
|
new
|
|
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 | PortGroup github 1.0 |
| 5 | |
| 6 | github.setup ascii-boxes boxes 1.2 v |
| 7 | github.master_sites https://github.com/ascii-boxes/boxes/archive ;# can't use git.tarball_from as it's no default download url |
| 8 | |
| 9 | # can't use regex provided from GitHub portgroup as distfiles are different |
| 10 | livecheck.regex [join [list {v([0-9]+(\.[0-9]+)*)} [string map {. \\.} ${extract.suffix}]] ""] |
4 | 11 | |
5 | | name boxes |
6 | | version 1.1.1 |
7 | 12 | categories textproc |
8 | 13 | license GPL-2+ |
9 | 14 | platforms darwin |
10 | | maintainers nomaintainer |
| 15 | maintainers @StefKKK openmaintainer |
11 | 16 | |
12 | 17 | description draws boxes around text |
13 | 18 | long_description boxes is a text filter which can draw various \ |
… |
… |
|
16 | 21 | simplifies using boxes from emacs |
17 | 22 | |
18 | 23 | homepage http://boxes.thomasjensen.com |
19 | | master_sites http://boxes.thomasjensen.com/download/ |
20 | | extract.suffix .src.tar.gz |
21 | | |
22 | | checksums rmd160 0a3a826382b174e0604a32071f5b6510fc4f5343 \ |
23 | | sha256 d8529840281618e75a4adf313f08291b89c8cf83928c2c1f4b0ddcd236fb2420 |
| 24 | license GPL-2 |
24 | 25 | |
25 | | patchfiles config.h.patch boxes.c.patch parser.patch regerror.patch \ |
26 | | regexp_Makefile.patch tools.c.patch |
| 26 | checksums rmd160 f1d52f086bb273d044f3355b414c7186f0e359e1 \ |
| 27 | sha256 ba237f6d4936bdace133d5f370674fd4c63bf0d767999a104bada6460c5d1913 |
27 | 28 | |
28 | 29 | depends_build port:bison port:cctools port:flex |
29 | 30 | |
… |
… |
|
36 | 37 | } |
37 | 38 | } |
38 | 39 | |
39 | | # Should this be installed in ${prefix}/share/boxes/boxes? |
40 | | post-patch { reinplace "s|GLOBALCONF = /usr/share/boxes|GLOBALCONF = ${prefix}/share/boxes|" "${worksrcpath}/Makefile" } |
41 | | build.target |
42 | | build.args CC=${configure.cc} |
| 40 | build.target ;# default target |
| 41 | build.args CC=${configure.cc} GLOBALCONF=${prefix}/share/boxes |
43 | 42 | |
44 | 43 | destroot { |
45 | 44 | xinstall -m 755 ${worksrcpath}/src/boxes ${destroot}${prefix}/bin/${name} |
… |
… |
|
47 | 46 | xinstall -m 644 ${worksrcpath}/boxes ${destroot}${prefix}/share/${name} |
48 | 47 | xinstall ${worksrcpath}/doc/boxes.1 ${destroot}${prefix}/share/man/man1/ |
49 | 48 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} |
50 | | xinstall -m 644 -W ${worksrcpath} COPYING README boxes-config ${destroot}${prefix}/share/doc/${name} |
| 49 | xinstall -m 644 -W ${worksrcpath} README.md LICENSE boxes-config ${destroot}${prefix}/share/doc/${name} |
51 | 50 | } |
52 | | |
53 | | livecheck.type regex |
54 | | livecheck.url [lindex ${master_sites} 0] |
55 | | livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix} |
56 | | |