You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
53 lines
1.7 KiB
Tcl
53 lines
1.7 KiB
Tcl
# -*- 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 gitlab 1.0
|
|
PortGroup makefile 1.0
|
|
|
|
gitlab.setup esr mstrans 1.4
|
|
revision 0
|
|
|
|
description Text conversion between Unix and MS-DOS line endings.
|
|
|
|
long_description \
|
|
{*}${description} A little tool for cleaning up files transferred from \
|
|
MS-DOS\; it can strip CRs, remove trailing \^Z characters, etc. With an \
|
|
option, it will put in CRs for files that need to go in the other \
|
|
direction. It can also strip meta bits, in case your file was a WordStar \
|
|
document. Finally, it can do appropriate filename mapping. The WordStar \
|
|
translation features are probably completely obsolete now, but the other \
|
|
features may still be useful.
|
|
|
|
categories sysutils textproc
|
|
installs_libs no
|
|
license GPL-2
|
|
maintainers {gmail.com:herby.gillot @herbygillot} \
|
|
openmaintainer
|
|
|
|
checksums rmd160 0bf7689ff080008dce267ab9f3268403c65fa35d \
|
|
sha256 5007138dbadf6dbd70bfece837a250fbdb4537f14f222b902fd5d9e921c3eedc \
|
|
size 10107
|
|
|
|
|
|
build.target ${name}
|
|
|
|
variant man description {Generate and install man page} {
|
|
depends_build-append \
|
|
port:asciidoctor
|
|
|
|
build.target-append ${name}.1
|
|
}
|
|
|
|
default_variants +man
|
|
|
|
destroot {
|
|
xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin
|
|
|
|
if {[variant_isset man]} {
|
|
xinstall -d ${destroot}${prefix}/share/man/man1
|
|
xinstall -m 0444 \
|
|
${worksrcpath}/${name}.1 ${destroot}${prefix}/share/man/man1/
|
|
}
|
|
}
|