# -*- 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

PortSystem          1.0
PortGroup           makefile 1.0

name                dos2unix
version             7.5.2
revision            0
categories          textproc
license             BSD
maintainers         {@therealketo gmail.com:therealketo} openmaintainer

description         Convert text files with DOS or Mac line breaks to \
                    Unix line breaks and vice versa
long_description    This is an update of Benjamin Lin's \
                    implementations of dos2unix and unix2dos. Benjamin \
                    Lin's implementations of dos2unix and unix2dos \
                    were distributed via SunSITE.unc.edu (later \
                    MetaLab.unc.edu, now ibiblio) and became part of \
                    several Linux distributions such as RedHat, Suse, \
                    Gentoo, and others. This update includes all \
                    RedHat patches and fixes several other problems. \
                    Internationalization has been added and ports to \
                    DOS, Windows, Cygwin and OS/2 Warp have been made.
homepage            https://waterlan.home.xs4all.nl/dos2unix.html

master_sites        sourceforge:project/dos2unix/dos2unix/${version} \
                    https://waterlan.home.xs4all.nl/dos2unix

checksums           rmd160  52e670594b8ea697e71b037ea396874266c56a02 \
                    sha256  264742446608442eb48f96c20af6da303cb3a92b364e72cb7e24f88239c4bf3a \
                    size    991485

depends_lib-append  port:gettext
universal_variant   no

makefile.prefix_name \
                    prefix

makefile.override-append \
                    PREFIX

destroot.args-append \
                    docsubdir=${name}
