# -*- 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 gitlab.setup gbrein tnylpo 1.1.5 revision 0 categories emulators license BSD maintainers {@aeiouaeiouaeiouaeiouaeiouaeiou outlook.com:aeioudev} openmaintainer description Utility to run CP/M-80 programs under Unix/Linux long_description ${name} allows the execution of programs written \ for CP/M-80 version 2.2 under Unixy operating systems. checksums rmd160 df76a66e430a9ff5d507636313415d5fb07a2b7b \ sha256 4c0db5bb125c4d7b5cc313a6bb31d937673cc484782a07e76202fbbb3486e75d \ size 98123 depends_build port:gmake depends_lib port:ncurses use_configure no post-patch { reinplace "s|CFLAGS=|#CFLAGS=|g" ${worksrcpath}/makefile } build.cmd gmake build.env CC=${configure.cc} \ "CFLAGS=${configure.cflags} [get_canonical_archflags cc]" \ "LDFLAGS=${configure.ldflags} [get_canonical_archflags ld]" destroot { set mine_dir ${destroot}${prefix}/share/examples/${name}/mine set tcpm_dir ${destroot}${prefix}/share/examples/${name}/tcpm set doc_dir ${destroot}${prefix}/share/doc/${name} xinstall -d -m 0755 ${mine_dir} ${tcpm_dir} ${doc_dir} xinstall -m 0755 ${build.dir}/tnylpo ${build.dir}/tnylpo-convert \ ${destroot}${prefix}/bin xinstall -m 0644 ${worksrcpath}/${name}.1 ${worksrcpath}/tnylpo-convert.1 \ ${destroot}${prefix}/share/man/man1/ xinstall -m 0644 {*}[glob ${worksrcpath}/mine/*.*] ${mine_dir} xinstall -m 0644 {*}[glob ${worksrcpath}/tcpm/*.*] ${tcpm_dir} xinstall -m 0644 -W ${worksrcpath} LICENSE README.md ${doc_dir} }