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 |
| 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 | # custom distfiles, set it manually |
| 10 | extract.suffix .tar.gz |
| 11 | distfiles v${version}${extract.suffix} |
| 12 | |
| 13 | # can't use regex provided from GitHub portgroup as distfiles are different |
| 14 | livecheck.regex [join [list {v([0-9]+(\.[0-9]+)*)} [string map {. \\.} ${extract.suffix}]] ""] |
4 | 15 | |
5 | | name boxes |
6 | | version 1.1.1 |
7 | 16 | categories textproc |
8 | 17 | license GPL-2+ |
9 | 18 | platforms darwin |
10 | | maintainers nomaintainer |
| 19 | maintainers @StefKKK openmaintainer |
11 | 20 | |
12 | 21 | description draws boxes around text |
13 | 22 | long_description boxes is a text filter which can draw various \ |
… |
… |
|
16 | 25 | simplifies using boxes from emacs |
17 | 26 | |
18 | 27 | homepage http://boxes.thomasjensen.com |
19 | | master_sites http://boxes.thomasjensen.com/download/ |
20 | | extract.suffix .src.tar.gz |
| 28 | license GPL-2 |
21 | 29 | |
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 |
| 30 | checksums rmd160 f1d52f086bb273d044f3355b414c7186f0e359e1 \ |
| 31 | sha256 ba237f6d4936bdace133d5f370674fd4c63bf0d767999a104bada6460c5d1913 |
27 | 32 | |
28 | 33 | depends_build port:bison port:cctools port:flex |
29 | 34 | |
… |
… |
|
36 | 41 | } |
37 | 42 | } |
38 | 43 | |
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} |
| 44 | build.target ;# default target |
| 45 | build.args CC=${configure.cc} GLOBALCONF=${prefix}/share/boxes |
43 | 46 | |
44 | 47 | destroot { |
45 | 48 | xinstall -m 755 ${worksrcpath}/src/boxes ${destroot}${prefix}/bin/${name} |
… |
… |
|
47 | 50 | xinstall -m 644 ${worksrcpath}/boxes ${destroot}${prefix}/share/${name} |
48 | 51 | xinstall ${worksrcpath}/doc/boxes.1 ${destroot}${prefix}/share/man/man1/ |
49 | 52 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} |
50 | | xinstall -m 644 -W ${worksrcpath} COPYING README boxes-config ${destroot}${prefix}/share/doc/${name} |
| 53 | xinstall -m 644 -W ${worksrcpath} README.md LICENSE boxes-config ${destroot}${prefix}/share/doc/${name} |
51 | 54 | } |
52 | | |
53 | | livecheck.type regex |
54 | | livecheck.url [lindex ${master_sites} 0] |
55 | | livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix} |
56 | | |