# $Id$ PortSystem 1.0 name slang2 conflicts slang set my_name slang version 2.2.4 revision 2 set branch [join [lrange [split ${version} .] 0 1] .] categories lang devel license GPL-2+ platforms darwin maintainers nomaintainer description multi-platform programmer's library long_description \ S-Lang is a multi-platform programmer's library designed to \ allow a developer to create robust multi-platform software. \ It provides facilities required by interactive applications \ such as display/screen management, keyboard input, keymaps, \ and so on. The most exciting feature of the library is the \ slang interpreter that may be easily embedded into a program \ to make it extensible. homepage http://www.jedsoft.org/slang/ master_sites ftp://space.mit.edu/pub/davis/slang/v${branch}/ \ ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v${branch}/ \ http://ftp.ntua.gr/pub/lang/slang/slang/v${branch}/ \ ftp://ftp.plig.org/pub/slang/v${branch}/ distname ${my_name}-${version} use_bzip2 yes checksums rmd160 fc023080f021201a99263d686ab4a8b87bbb575a \ sha256 9a8257a9a2a55099af858b13338dc8f3a06dd2069f46f0df2c9c3bb84a01d5db depends_lib port:libiconv \ port:libpng \ port:pcre \ port:zlib use_parallel_build no test.run yes test.target check destroot.args install_doc_dir=${prefix}/share/doc/${my_name}-${version} \ SLSH_DOC_DIR=${prefix}/share/doc/slsh-${version} post-destroot { foreach {lib} [eval list [glob -type f ${destroot}${prefix}/lib/*.dylib] \ [glob ${destroot}${prefix}/lib/slang/v2/modules/*.so]] { file attributes ${lib} -permissions 0755 } } livecheck.type regex livecheck.url [lindex ${master_sites} 0] livecheck.regex {LATEST_IS_(\d+(?:\.\d+)*)}