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 | PortGroup active_variants 1.1 |
---|
6 | |
---|
7 | name tix |
---|
8 | version 8.4.3 |
---|
9 | platforms darwin |
---|
10 | categories x11 |
---|
11 | license BSD |
---|
12 | maintainers nomaintainer |
---|
13 | description Tk Interface eXtension |
---|
14 | long_description Tix, the Tk Interface eXtension, is a powerful set of \ |
---|
15 | user interface components that expands the capabilities \ |
---|
16 | of your Tcl/Tk and Python applications. Using Tix together \ |
---|
17 | with Tk will greatly enhance the appearance and functionality \ |
---|
18 | of your application. |
---|
19 | |
---|
20 | homepage http://tix.sourceforge.net/ |
---|
21 | |
---|
22 | # Set tclv and md5 checksum to the current MacPorts Tcl port version, though |
---|
23 | # port doesn't break if they aren't in sync. |
---|
24 | set tkv 8.6.1 |
---|
25 | master_sites sourceforge:project/tix/tix/${version}:tix \ |
---|
26 | sourceforge:project/tcl/Tcl/${tkv}:tcl |
---|
27 | |
---|
28 | dist_subdir tcltk |
---|
29 | distname Tix${version}-src |
---|
30 | |
---|
31 | distfiles ${distname}.tar.gz:tix \ |
---|
32 | tk${tkv}-src.tar.gz:tcl \ |
---|
33 | tcl${tkv}-src.tar.gz:tcl |
---|
34 | |
---|
35 | worksrcdir Tix${version} |
---|
36 | |
---|
37 | checksums Tix8.4.3-src.tar.gz \ |
---|
38 | rmd160 99249c4d7a19fcb8c27f11ab1b3ef6102911409d \ |
---|
39 | sha256 562f040ff7657e10b5cffc2c41935f1a53c6402eb3d5f3189113d734fd6c03cb \ |
---|
40 | tk8.6.1-src.tar.gz \ |
---|
41 | rmd160 9176fd2c5e7d36c84141333939e85614d3ba2e11 \ |
---|
42 | sha256 b691a2e84907392918665fe03a0deb913663a026bed2162185b4a9a14898162c \ |
---|
43 | tcl8.6.1-src.tar.gz \ |
---|
44 | rmd160 fbb181d26bb28fe9413bc2e07f333571b8e7e190 \ |
---|
45 | sha256 16ee769248e64ba1cae6b4834fcc4e4edd7470d881410e8d58f7dd1434343514 |
---|
46 | |
---|
47 | depends_lib port:tcl port:tk |
---|
48 | patch.pre_args -p1 |
---|
49 | patchfiles patch-generic-tixGrSort.c.diff |
---|
50 | |
---|
51 | # tix depends on x11 windowing |
---|
52 | require_active_variants tk x11 |
---|
53 | |
---|
54 | configure.args --mandir=${prefix}/share/man \ |
---|
55 | --with-tcl=${prefix}/lib \ |
---|
56 | --with-tk=${prefix}/lib |
---|
57 | configure.cppflags-append \ |
---|
58 | -I${workpath}/tcl${tkv}/generic \ |
---|
59 | -I${workpath}/tcl${tkv}/unix \ |
---|
60 | -I${workpath}/tk${tkv}/generic \ |
---|
61 | -I${workpath}/tk${tkv}/unix |
---|
62 | configure.ldflags-append \ |
---|
63 | -ltclstub8.6 |
---|
64 | |
---|
65 | test.run yes |
---|
66 | test.target test |
---|