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

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem      1.0
4
5name                    unalz
6version         0.61
7categories              archivers
8platforms               darwin
9maintainers             bawi.org:minskim
10description             unarchiver for the AlZip format
11
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/
17master_sites    ${homepage}
18extract.suffix  .tgz
19
20depends_lib     port:libiconv
21
22checksums       md5 f3ee5bad439f10e06b089b8db38b7566 \
23                sha1 a6cab2a02b7f44957211e694b7d8d144840b2255 \
24                rmd160 68cb957aeacfc8452e01637f7e0a50939d515ab6
25
26worksrcdir              unalz
27
28post-patch {
29    reinplace "s|/usr/local|\$(DESTDIR)${prefix}|" ${worksrcpath}/Makefile
30}
31
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
38build.target    posix-utf8
39
40post-destroot {
41    set docdir ${prefix}/share/doc/${name}-${version}
42    xinstall -d ${destroot}${docdir}
43    xinstall -m 0644 ${worksrcpath}/readme.txt ${destroot}${docdir}
44}
45
46livecheck.check regex
47livecheck.url   ${homepage}
48livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
49
Note: See TracBrowser for help on using the repository browser.