Files
macports-ports/archivers/lha/Portfile
T
Joshua Root d64138e3d1 archivers/*: set github.tarball_from explicitly
In preparation for changing the default.
2025-01-09 09:05:35 +11:00

44 lines
1.3 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
github.setup jca02266 lha 20211125 release-
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
epoch 20211125
revision 0
homepage https://lha.osdn.jp
description Utility for creating and opening lzh archives
long_description {*}${description}
categories archivers sysutils
license Restrictive/Distributable
maintainers nomaintainer
checksums rmd160 f84555b6bead094eaa2be176c057a403cb7ba4de \
sha256 8ee996a1baf97a89d18b2b474e93ec2ed526fc80ca64c707f779f771281a173b \
size 229334
patchfiles c89.patch
depends_lib-append port:libiconv
use_autoreconf yes
autoreconf.args -fvi
test.run yes
test.target check
post-destroot {
set docdir ${prefix}/share/doc/${name}-${version}
xinstall -m 0755 -d ${destroot}${docdir}/olddoc
xinstall -m 0644 -W ${worksrcpath} README.jp.md Hacking_of_LHa header.doc.jp \
${destroot}${docdir}
xinstall -m 0644 {*}[glob ${worksrcpath}/olddoc/*.{txt,euc,eng}] \
${destroot}${docdir}/olddoc
}