source: trunk/dports/archivers/unalz/Portfile @ 29068

Last change on this file since 29068 was 29068, checked in by nox@…, 12 years ago

unalz (closes #12680):

  • Updated to 0.61.
  • Added libiconv dependency.
  • Added standard doc installation.
  • Added universal support.
  • Added livecheck and sha1 and rmd160 checksums.
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
RevLine 
[19376]1# $Id: Portfile 29068 2007-09-14 12:53:38Z nox@macports.org $
[8928]2
[29068]3PortSystem      1.0
[8928]4
5name                    unalz
[29068]6version         0.61
[8928]7categories              archivers
8platforms               darwin
[13071]9maintainers             minskim@bawi.org
[13069]10description             unarchiver for the AlZip format
[29068]11
[8928]12long_description        Unalz is a BSD-licensed unarchiver for AlZip format which \
13                                requires proprietary and win32-only software but widely used \
14                                in Korea.
15
16homepage                http://www.kipple.pe.kr/win/unalz/
[11576]17master_sites    ${homepage}
[8928]18extract.suffix  .tgz
19
[29068]20depends_lib     port:libiconv
21
22checksums       md5 f3ee5bad439f10e06b089b8db38b7566 \
23                sha1 a6cab2a02b7f44957211e694b7d8d144840b2255 \
24                rmd160 68cb957aeacfc8452e01637f7e0a50939d515ab6
25
[13099]26worksrcdir              unalz
[11576]27
[29068]28post-patch {
29    reinplace "s|/usr/local|\$(DESTDIR)${prefix}|" ${worksrcpath}/Makefile
30}
[28064]31
[29068]32configure {
33    set CFLAGS [join ${configure.cflags} " "]
34    reinplace -E "/^CFLAGS/s|\$|${CFLAGS}\\\nCPPFLAGS=${CFLAGS}|" ${worksrcpath}/Makefile
35    reinplace -E "/^LDFLAGS/s|\$|[join ${configure.ldflags} " "]|" ${worksrcpath}/Makefile
36}
37
[13053]38build.target    posix-utf8
[8928]39
[29068]40post-destroot {
41    set docdir ${prefix}/share/doc/${name}-${version}
42    xinstall -d ${destroot}${docdir}
43    xinstall -m 0644 ${worksrcpath}/readme.txt ${destroot}${docdir}
[8928]44}
[28064]45
[29068]46livecheck.check regex
47livecheck.url   ${homepage}
48livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
[28064]49
Note: See TracBrowser for help on using the repository browser.