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
|
|
3 | 3 | PortSystem 1.0 |
4 | 4 | |
5 | 5 | name boxes |
6 | | version 1.1.1 |
| 6 | version 1.2 |
7 | 7 | categories textproc |
8 | 8 | license GPL-2+ |
9 | 9 | platforms darwin |
10 | | maintainers nomaintainer |
| 10 | maintainers @StefKKK openmaintainer |
11 | 11 | |
12 | 12 | description draws boxes around text |
13 | 13 | long_description boxes is a text filter which can draw various \ |
… |
… |
|
16 | 16 | simplifies using boxes from emacs |
17 | 17 | |
18 | 18 | homepage http://boxes.thomasjensen.com |
19 | | master_sites http://boxes.thomasjensen.com/download/ |
20 | | extract.suffix .src.tar.gz |
| 19 | master_sites https://github.com/ascii-boxes/boxes/archive |
| 20 | extract.suffix .tar.gz |
| 21 | distfiles v${version}${extract.suffix} |
| 22 | license GPL-2 |
21 | 23 | |
22 | | checksums rmd160 0a3a826382b174e0604a32071f5b6510fc4f5343 \ |
23 | | sha256 d8529840281618e75a4adf313f08291b89c8cf83928c2c1f4b0ddcd236fb2420 |
24 | | |
25 | | patchfiles config.h.patch boxes.c.patch parser.patch regerror.patch \ |
26 | | regexp_Makefile.patch tools.c.patch |
| 24 | checksums rmd160 f1d52f086bb273d044f3355b414c7186f0e359e1 \ |
| 25 | sha256 ba237f6d4936bdace133d5f370674fd4c63bf0d767999a104bada6460c5d1913 |
27 | 26 | |
28 | 27 | depends_build port:bison port:cctools port:flex |
29 | 28 | |
… |
… |
|
36 | 35 | } |
37 | 36 | } |
38 | 37 | |
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 | 38 | build.target |
42 | | build.args CC=${configure.cc} |
| 39 | build.args CC=${configure.cc} GLOBALCONF=${prefix}/share/boxes |
43 | 40 | |
44 | 41 | destroot { |
45 | 42 | xinstall -m 755 ${worksrcpath}/src/boxes ${destroot}${prefix}/bin/${name} |
… |
… |
|
47 | 44 | xinstall -m 644 ${worksrcpath}/boxes ${destroot}${prefix}/share/${name} |
48 | 45 | xinstall ${worksrcpath}/doc/boxes.1 ${destroot}${prefix}/share/man/man1/ |
49 | 46 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} |
50 | | xinstall -m 644 -W ${worksrcpath} COPYING README boxes-config ${destroot}${prefix}/share/doc/${name} |
| 47 | xinstall -m 644 -W ${worksrcpath} README.md LICENSE boxes-config ${destroot}${prefix}/share/doc/${name} |
51 | 48 | } |
52 | 49 | |
53 | 50 | livecheck.type regex |
54 | | livecheck.url [lindex ${master_sites} 0] |
55 | | livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix} |
56 | | |
| 51 | livecheck.url https://github.com/ascii-boxes/boxes/releases |
| 52 | livecheck.regex [join [list {v([0-9]+(\.[0-9]+)*)} [string map {. \\.} ${extract.suffix}]] ""] |