# -*- 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 7.2 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 3c1de9cca0656a968814c19a48213b546aa914bc \ sha256 8a63576767b26af46401dfdeaf09c1e4de03735fe80c362244514e1eaf13d9b5 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+)*)}