Files
Herby Gillot ef8b544465 arc: update to 5.21q
- switch to Github repo
2024-03-14 20:25:59 -04:00

45 lines
1.4 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 github 1.0
PortGroup makefile 1.0
github.setup ani6al arc 5.21q
github.tarball_from archive
revision 0
description create and extract files from dos .arc archives
long_description {*}${description}
categories archivers sysutils
installs_libs no
license GPL-2
maintainers nomaintainer
checksums rmd160 aa19dddffa31e67362f13f81921b868896168eae \
sha256 bde44648d0c451852612da2256f5a7e48b97d0d625ba88b903d7f223959528cc \
size 79366
conflicts poco
patchfiles patch-gcc-warnings.diff \
patch-Makefile.diff \
patch-man-spelling.diff \
patch-manpage-section.diff \
patch-marc.c.diff
build.post_args-append \
VERSION="${version}"
variant universal {}
destroot {
xinstall -W ${worksrcpath} ${name} m${name} ${destroot}${prefix}/bin
xinstall -W ${worksrcpath} -m 0444 ${name}.1 ${destroot}${prefix}/share/man/man1
set docdir ${prefix}/share/doc/${name}-${version}
xinstall -d ${destroot}${docdir}
xinstall -W ${worksrcpath} -m 0644 Arc[strsed ${version} {g/[^0-9]//}].doc Arcinfo COPYING LICENSE \
${destroot}${docdir}
}