forked from macports/macports-ports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Portfile
43 lines (34 loc) · 1.37 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# -*- 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 7c3cd95
version 1.14i-ac20081023
epoch 20191004
revision 1
categories archivers sysutils
maintainers nomaintainer
description Utility for creating and opening lzh archives
long_description \
${description}
platforms darwin
license Restrictive/Distributable
checksums rmd160 3015b301291a5b707e125dea6918f4fdbf534485 \
sha256 4b21cbba1836d019d36a022d5c8ec66b1fd9d09dcfa2a857bf51b8cdea76e94e \
size 220432
patchfiles c89.patch \
implicit.patch \
libiconv.patch \
patch-src_header.c.diff
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 755 -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
}