Ticket #31890: Portfile-xotcl-1.6.7

File Portfile-xotcl-1.6.7, 1.9 KB (added by gustafn, 12 years ago)
Line 
1# $Id: Portfile 83155 2011-08-26 17:46:16Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    xotcl
6version                 1.6.7
7categories              lang
8maintainers             wu.ac.at:neumann
9description             Extended Object Tool Command Language
10long_description        Extended Object Tcl (for short: XOTcl, pronounced exotickle) is an \
11                        object-oriented scripting language based on Tcl. It was originally \
12                        designed for providing language support for design patterns and provides \
13                        novel constructs such as filters or transitive mixin classes. \
14                        The language is designed for empowering rather than constraining \
15                        system developers. The basic object model is highly influenced by CLOS.
16platforms               darwin
17homepage                http://media.wu-wien.ac.at
18
19# Set tclv and checksums to the current MacPorts Tcl port version, though port doesn't
20# break if they aren't in sync.
21
22set tclv                8.5.10
23
24master_sites            sourceforge:project/xotcl/xotcl/${version}:xotcl \
25                        sourceforge:project/tcl/Tcl/${tclv}:tcl
26
27dist_subdir             tcltk
28distname                ${name}-${version}
29
30distfiles               ${distname}.tar.gz:xotcl \
31                        tcl${tclv}-src.tar.gz:tcl
32
33checksums               ${distname}.tar.gz \
34                                md5     ff136c3237eb11fad257576ee02579db \
35                                sha1    230f83e192e0666785e52c037130bd8caa9cb9e7 \
36                                rmd160  cbf2f0f1476c09425a69e12d109eb2f8d0ac2815 \
37                        tcl${tclv}-src.tar.gz \
38                                md5     a08eaf8467c0631937067c1948dd326b \
39                                sha1    e6c894d3b8cbcbfb7293a2e0c5e2cd15e178be2e \
40                                rmd160  9b192388e74e46a4972d18c24b70b1a3d70ceba4
41
42depends_lib             port:tcl \
43                        port:tk
44
45configure.cflags        "-I${workpath}/tcl${tclv}/generic -I${workpath}/tcl${tclv}/unix"
46configure.args          --enable-threads --with-tcl=${prefix}/lib --with-tk=${prefix}/lib \
47                        --with-xotclsh \
48                        --mandir=${prefix}/share/man \
49                        --with-tcl=${prefix}/lib \
50                        --with-tclinclude=${workpath}/tcl${tclv}/generic/
51
52test.run                yes
53test.target             test
54use_parallel_build      no