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