# -*- 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 ncdc version 1.5 categories net chat platforms darwin maintainers nomaintainer license MIT description Ncurses Direct Connect long_description Modern and lightweight direct connect client with a \ friendly ncurses interface. homepage http://dev.yorhel.nl/ncdc master_sites http://dev.yorhel.nl/download \ sourceforge:project/ncdc/ncdc/ncdc-${version} checksums md5 fbd49a2551d22fb9f41f77b118d01461 \ sha1 a6a5cbc222e6846e6976a27610968442cc9a4851 depends_build port:pkgconfig depends_lib port:gdbm \ port:ncurses \ path:lib/pkgconfig/glib-2.0.pc:glib2 \ port:libxml2 \ port:bzip2 # optional: #depends_run port:glib-networking use_parallel_build yes if {${os.platform} == "darwin" && ${os.major} < 10} { pre-fetch { ui_error "${name} ${version} requires Mac OS X 10.6 or greater." return -code error "incompatible Mac OS X version" } } livecheck.type regex livecheck.url [lindex ${master_sites} 0] livecheck.regex >${name}-(\[0-9.\]+)${extract.suffix}<