mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
See: macports/macports-base@74b3130 Closes: https://trac.macports.org/ticket/61890
60 lines
2.3 KiB
Tcl
60 lines
2.3 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
|
|
name tclx
|
|
version 8.4.1
|
|
set branch [join [lrange [split ${version} .] 0 1] .]
|
|
categories lang
|
|
license Permissive Tcl/Tk
|
|
maintainers nomaintainer
|
|
description Tcl with extended command set
|
|
long_description Tclx extends Tcl by providing new operating system interface \
|
|
commands, extended file control, scanning and status commands \
|
|
and many others.
|
|
homepage http://tclx.sourceforge.net/
|
|
platforms darwin
|
|
distname ${name}${version}
|
|
|
|
worksrcdir ${name}${branch}
|
|
|
|
depends_lib port:tcl
|
|
|
|
set tclv 8.6.2
|
|
|
|
master_sites sourceforge \
|
|
sourceforge:project/tcl/Tcl/${tclv}:tcl
|
|
distfiles ${distname}.tar.bz2 \
|
|
tcl${tclv}-src.tar.gz:tcl
|
|
checksums ${distname}.tar.bz2 \
|
|
rmd160 253c71aea7ad85ac364d9bda03556628d2e545c6 \
|
|
sha256 a9b41f606ec6c1268b9c78512e6e1cb533bd9ae3e786e650d111fc16ffe758ec \
|
|
tcl${tclv}-src.tar.gz \
|
|
rmd160 574bffdf3e390cf6460ab4a9d4b59db0e58f2998 \
|
|
sha256 86f7ae5f581dd0904d04415637ab3aef5a50986c1b6d04c340e2b1b0258da9c4
|
|
|
|
use_bzip2 yes
|
|
extract.only ${distname}.tar.bz2
|
|
|
|
post-extract {
|
|
system -W ${distpath} "tar xvfz tcl${tclv}-src.tar.gz -C ${workpath}"
|
|
}
|
|
|
|
patchfiles configure-implicit-declarations.patch \
|
|
implicit-panic.patch
|
|
|
|
configure.cflags-append "-I${workpath}/tcl${tclv}/generic -I${workpath}/tcl${tclv}/unix"
|
|
|
|
configure.args --enable-shared \
|
|
--with-help=Help \
|
|
--with-tcl=${prefix}/lib \
|
|
--with-tclinclude=${workpath}/tcl${tclv}/generic/
|
|
|
|
destroot.target install-binaries install-libraries
|
|
|
|
variant universal {}
|
|
|
|
livecheck.type regex
|
|
livecheck.url https://sourceforge.net/projects/tclx/files/TclX/
|
|
livecheck.regex "title=\"(\\d+(?:\\.\\d+)*)\" class=\"folder"
|