# -*- 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 dos2unix version 6.0 categories textproc platforms darwin maintainers nomaintainer license BSD description Convert text between dos, unix, and mac formats long_description ${description} homepage http://www.xs4all.nl/~waterlan/dos2unix.html master_sites sourceforge:project/dos2unix/dos2unix/${version} \ http://www.xs4all.nl/~waterlan/dos2unix/ checksums rmd160 f6b9f19e51958a7d108fbb17ca2b81f4edb970ae \ sha256 0a3dafe5ca3dc6f640a73197322975a4cb20e9bba699ebfecaaecc15f962389e depends_lib port:gettext use_configure no variant universal {} configure.cflags-append ${configure.cppflags} [get_canonical_archflags cc] configure.ldflags-append -lintl [get_canonical_archflags ld] build.args prefix=${prefix} \ CC=${configure.cc} \ CFLAGS_OS="[join ${configure.cflags}]" \ LDFLAGS_EXTRA="[join ${configure.ldflags}]" destroot.args prefix=${prefix} \ DOCDIR=${destroot}${prefix}/share/doc/${name} livecheck.type regex livecheck.regex {Stable version: (\d+(?:\.\d+)*)}