# -*- 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 # $Id$ PortSystem 1.0 name icon version 9.5.1 categories lang maintainers laposte.net:michael.grunewald openmaintainer license public-domain description The Icon Programming Language long_description Icon is a high-level, general-purpose programming \ language with a large repertoire of features for \ processing data structures and character strings. \ Icon is an imperative, procedural language with a \ syntax reminiscent of C and Pascal, but with \ semantics at a much higher level. homepage http://www.cs.arizona.edu/icon/ platforms darwin master_sites ${homepage}ftp/packages/unix/ distname icon-v[strsed ${version} {g/\.//}]src extract.suffix .tgz checksums rmd160 b72481675a6961e609ad6adabc9abd37474eebc3 \ sha256 062a680862b1c10c21789c0c7c7687c970a720186918d5ed1f7aad9fdc6fa9b9 universal_variant no use_parallel_build no configure.cmd make configure.pre_args configure.args Configure name=macintosh build.target All destroot.target Install destroot.destdir dest=${destroot}${prefix}/libexec/${name} post-destroot { foreach prog {icon icont iconx vib} { ln -s ../libexec/${name}/bin/${prog} ${destroot}${prefix}/bin } set doc_dir ${destroot}${prefix}/share/doc xinstall -d ${doc_dir} ln -s ../../libexec/${name}/doc ${doc_dir}/${name}-${version} set man1_dir ${destroot}${prefix}/share/man/man1 xinstall -d ${man1_dir} ln -s ../../../libexec/${name}/man/man1/icon.1 ${man1_dir} ln -s ../../../libexec/${name}/man/man1/icont.1 ${man1_dir} } default_variants +x11 variant x11 { configure.args X-Configure name=macintosh depends_lib-append port:xorg-libXt } livecheck.type regex livecheck.url [lindex ${master_sites} 0] livecheck.version [strsed ${version} {g/\.//}] livecheck.regex ${name}-v(\[0-9.\]+)src${extract.suffix}