Ticket #30968: xotcl-portfile.patch

File xotcl-portfile.patch, 2.4 KB (added by gustafn, 13 years ago)
  • lang/xotcl/

    old new  
    22
    33PortSystem 1.0
    44name                    xotcl
    5 version                 1.1.1
     5version                 1.6.6
    66revision                0
    77categories              lang
    88maintainers             nomaintainer
    99description             Extended Object Tool Command Language
    10 long_description        XOTcl (XOTcl, pronounced exotickle) is an object-oriented scripting language based on MIT's OTcl. It is intended as a value added replacement for OTcl.
     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.
    1116platforms               darwin
    1217homepage                http://media.wu-wien.ac.at
    13 master_sites            ${homepage}/download/
    14 checksums               md5 d8f97042594ffa076813907155c74a2a
     18master_sites            ${homepage}/download/:xotcl sourceforge:tcl:tcl
    1519destroot.destdir        DESTDIR=${destroot}
    16 worksrcdir              ${name}-${version}/unix
    17 depends_lib             lib:libtk8.4:tk
     20worksrcdir              ${name}-${version}/
     21depends_lib             lib:libtk8.5:tk
     22
     23# Set tclv and md5 checksum to the current MacPorts Tcl port version, though port doesn't
     24# break if they aren't in sync.
     25
     26set tclv                8.5.9
     27
     28distfiles               ${distname}.tar.gz:xotcl \
     29                                tcl${tclv}-src.tar.gz:tcl
     30checksums               ${distname}.tar.gz md5 bb044369dba3699f86d86ca89e63193d \
     31                                tcl${tclv}-src.tar.gz md5 8512d8db3233041dd68a81476906012a
    1832
    1933# Use a reasonable default
    20 set tclconfig ${prefix}/lib
    21 configure.args          --enable-threads --with-tcl=${tclconfig} --with-tk=${prefix}/lib
     34set tclconfig           ${prefix}/lib
     35configure.cflags        "-I${workpath}/tcl${tclv}/generic -I${workpath}/tcl${tclv}/unix"
     36configure.args          --enable-threads --with-tcl=${tclconfig} --with-tk=${prefix}/lib \
     37                        --with-xotclsh \
     38                        --mandir=${prefix}/share/man \
     39                        --with-tcl=${prefix}/lib \
     40                        --with-tclinclude=${workpath}/tcl${tclv}/generic/
     41
     42dist_subdir             tcltk
     43distname                ${name}${version}
     44
     45test.run                yes
     46test.target             test
     47use_parallel_build      no
     48 No newline at end of file