source: trunk/dports/devel/tclreadline/Portfile

Last change on this file was 134941, checked in by ryandesign@…, 2 years ago

tclreadline: fix build with readline 6.3+ (#46059; maintainer timeout)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
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# $Id: Portfile 134941 2015-04-11 11:37:42Z ryandesign@macports.org $
3
4PortSystem                  1.0
5
6name                        tclreadline
7version                     2.1.0
8revision                    1
9
10categories                  devel
11platforms                   darwin
12maintainers                 dons.net.au:darius
13license                     BSD
14
15description                 An interactive readline for tcl shells.
16
17long_description            The tclreadline package makes the GNU Readline \
18                            library available for interactive tcl shells. \
19                            This includes history expansion and file/command \
20                            completion. Command completion for all tcl/tk \
21                            commands is provided and commmand completers for \
22                            user defined commands can be easily added. \
23                            tclreadline can also be used for tcl scripts \
24                            which want to use a shell like input interface. \
25                            In this case the ::tclreadline::readline read \
26                            command has to be called explicitly.
27
28homepage                    http://tclreadline.sourceforge.net/
29master_sites                sourceforge
30
31checksums                   sha1    3b44f92ce1921ebccebab9b44d7cda6992cf8923 \
32                            rmd160  9967f7d7aa18fcd822f5701306f3a75a6001fdc5
33
34depends_lib                 port:readline
35
36post-extract {
37    move ${worksrcpath}/configure.in ${worksrcpath}/configure.ac
38}
39
40use_autoreconf              yes
41
42# Patch readline to use malloc/free instead of
43# Tcl_Alloc/Tcl_Free. Required for threaded-enabled Tcl.
44# Use rl_completion_func_t instead of CPPFunction for compatibility with readline 6.3+.
45patchfiles                  patch-tclreadline.c.diff
46
47patchfiles-append           patch-configure.ac.diff
48
49livecheck.type              regex
50livecheck.url               http://sourceforge.net/projects/${name}/files/
51livecheck.regex             /${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.