1 | # -*- 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 |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup makefile 1.0 |
---|
5 | |
---|
6 | name unalz |
---|
7 | version 0.65 |
---|
8 | categories archivers |
---|
9 | platforms darwin |
---|
10 | license zlib |
---|
11 | maintainers bawi.org:minskim \ |
---|
12 | {hotmail.com:amtor @RobK88} \ |
---|
13 | openmaintainer |
---|
14 | |
---|
15 | description unarchiver for the AlZip format |
---|
16 | |
---|
17 | long_description Unalz is an unarchiver for the AlZip format which \ |
---|
18 | is widely used in Korea. The ALZ file format is a proprietary \ |
---|
19 | file compression and archiving format designed to overcome \ |
---|
20 | the file size limitations of the ZIP file format. \ |
---|
21 | If you want to create .alz archives, \ |
---|
22 | you will need to use the proprietary ALZip software which only \ |
---|
23 | runs in Windows. |
---|
24 | |
---|
25 | homepage http://kippler.com/win/unalz/ |
---|
26 | master_sites ${homepage} |
---|
27 | |
---|
28 | extract.suffix .tgz |
---|
29 | |
---|
30 | depends_lib port:libiconv \ |
---|
31 | port:zlib \ |
---|
32 | port:bzip2 |
---|
33 | |
---|
34 | checksums md5 e4db2c4e3c8f6f5ee414b68bc55288e5 \ |
---|
35 | rmd160 bb55aee26e12c8bf0e4422b11feffa5c88844771 \ |
---|
36 | sha256 4c26699eb7545072de2ef7de79b4fff1f01c4db09cebff2d8d50ec03d5d74db0 \ |
---|
37 | size 137985 |
---|
38 | |
---|
39 | worksrcdir ${name} |
---|
40 | |
---|
41 | patchfiles 1000-Makefile.diff \ |
---|
42 | 1001-libz-linkage.diff \ |
---|
43 | 1002-libbz2-linkage.diff \ |
---|
44 | 1003-zlib-1.2.7-build.diff \ |
---|
45 | 1004-pipe-mode-fixes.diff \ |
---|
46 | 1005-filename-length-check.diff \ |
---|
47 | 1006-fix-offset-overflow.diff |
---|
48 | |
---|
49 | # |
---|
50 | # Remove this post-patch if you want to take advantage of the potential speed increase |
---|
51 | # offered by using the "register" keyword in the C++ program. |
---|
52 | # Unfortunately, the "register" keyword is only available in older compilers. |
---|
53 | # The "register" keyword was deprecated in the C++17 language standard. |
---|
54 | # |
---|
55 | post-patch { |
---|
56 | reinplace -locale C "s|register ||" ${worksrcpath}/UnAlz.cpp |
---|
57 | } |
---|
58 | |
---|
59 | use_configure no |
---|
60 | |
---|
61 | build.target posix-utf8 |
---|
62 | |
---|
63 | destroot { |
---|
64 | xinstall -m 755 ${worksrcpath}/unalz ${destroot}${prefix}/bin |
---|
65 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} |
---|
66 | xinstall -m 644 ${worksrcpath}/readme.txt ${destroot}${prefix}/share/doc/${name} |
---|
67 | } |
---|
68 | |
---|
69 | livecheck.type regex |
---|
70 | livecheck.url ${homepage} |
---|
71 | livecheck.regex ${name}-(\\d+(?:\\.\\d+)*) |
---|
72 | |
---|