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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name naviserver-libthread |
---|
7 | version 2.7.2 |
---|
8 | revision 0 |
---|
9 | categories www |
---|
10 | maintainers wu.ac.at:neumann |
---|
11 | description Add-on module libthread for NaviServer |
---|
12 | long_description \ |
---|
13 | LibThread is a Tcl extension which adds Tcl-level threading support for NaviServer and AOLserver. \ |
---|
14 | LibThread is as well part of Tcl 8.6, but this port differs in the compilation options. \ |
---|
15 | When LibThread is compiled with the --with-naviserver flag it uses different naming \ |
---|
16 | conventions for the provide Tcl-commands (overloading some NaviServer commands) and \ |
---|
17 | it is loadable as a NaviServer module. |
---|
18 | |
---|
19 | homepage http://sourceforge.net/projects/tcl/files/Thread%20Extension/ |
---|
20 | platforms darwin |
---|
21 | license Tcl/Tk |
---|
22 | |
---|
23 | distname thread${version} |
---|
24 | distfiles ${distname}.tar.gz:thread |
---|
25 | |
---|
26 | master_sites sourceforge:project/tcl/Thread%20Extension/${version}:thread |
---|
27 | |
---|
28 | checksums \ |
---|
29 | ${distname}.tar.gz \ |
---|
30 | md5 e025dbfa2dcd13e5feb4d06f6a00b2b7 \ |
---|
31 | sha1 c767527d4457c326c862de4cd129213740da813a \ |
---|
32 | rmd160 a72df97d45d7060237eaa1c38d7909d55a5fb1f4 |
---|
33 | |
---|
34 | depends_lib port:tcl port:naviserver |
---|
35 | set nsdir ${prefix}/ns |
---|
36 | worksrcdir ${distname}/unix |
---|
37 | portsandbox_active no |
---|
38 | |
---|
39 | configure { |
---|
40 | # |
---|
41 | # The following overwrite is needed, since the configure file resides |
---|
42 | # in the directory above the worksrcdir |
---|
43 | # |
---|
44 | system -W ${worksrcpath} "../configure --prefix=${prefix}/ns --with-tcl=${prefix}/lib --enable-symbols --exec-prefix=${destroot}/${nsdir} --with-naviserver=${nsdir}" |
---|
45 | } |
---|
46 | |
---|
47 | configure.pre_args --prefix=${prefix}/ns |
---|
48 | configure.args --with-tcl=${prefix}/lib --enable-symbols --with-aolserver=${nsdir} |
---|
49 | configure.env TCLSH=${prefix}/bin/tclsh |
---|
50 | |
---|
51 | destroot.destdir NAVISERVER=${destroot}/${nsdir} |
---|
52 | destroot.violate_mtree yes |
---|
53 | |
---|