diff -ur /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/tclreadline/Portfile /Users/oconnd1/ports/devel/tclreadline/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 |
4 | 5 | |
5 | 6 | name tclreadline |
6 | | version 2.1.0 |
7 | | revision 3 |
| 7 | version 2.3.1 |
| 8 | revision 0 |
8 | 9 | |
9 | 10 | categories devel |
10 | 11 | platforms darwin |
… |
… |
|
24 | 25 | In this case the ::tclreadline::readline read \ |
25 | 26 | command has to be called explicitly. |
26 | 27 | |
27 | | homepage http://tclreadline.sourceforge.net/ |
28 | | master_sites sourceforge |
| 28 | github.setup flightaware tclreadline ${version} v |
29 | 29 | |
30 | | checksums sha1 3b44f92ce1921ebccebab9b44d7cda6992cf8923 \ |
31 | | rmd160 9967f7d7aa18fcd822f5701306f3a75a6001fdc5 |
| 30 | homepage https://github.com/flightaware/tclreadline |
| 31 | |
| 32 | checksums sha1 c0a8f1351faae921a69fa5934a469761058c5e5c \ |
| 33 | rmd160 7973aa63fa521c8437b43712ce1798c9f66b050b \ |
| 34 | sha256 d702e3b8acfebd588b93348e220fc98f4181346c7f9a56ea7aeda334f107bbc5 \ |
| 35 | size 153243 |
32 | 36 | |
33 | 37 | depends_lib port:readline \ |
34 | 38 | port:tcl |
35 | 39 | |
36 | | post-extract { |
37 | | move ${worksrcpath}/configure.in ${worksrcpath}/configure.ac |
38 | | } |
39 | | |
40 | 40 | use_autoreconf yes |
41 | 41 | |
42 | | configure.args-append --with-tcl=${prefix}/lib/ |
| 42 | configure.args-append --with-tcl=${prefix}/lib/ \ |
| 43 | --with-readline-includes=${prefix}/include/readline |
43 | 44 | |
44 | | # Patch readline to use malloc/free instead of |
45 | | # Tcl_Alloc/Tcl_Free. Required for threaded-enabled Tcl. |
46 | | # Use rl_completion_func_t instead of CPPFunction for compatibility with readline 6.3+. |
47 | | patchfiles patch-tclreadline.c.diff |
48 | | |
49 | | patchfiles-append patch-configure.ac.diff |
50 | | |
51 | | livecheck.type regex |
52 | | livecheck.url http://sourceforge.net/projects/${name}/files/ |
53 | | livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix} |