source: trunk/dports/x11/libhangul/Portfile

Last change on this file was 114328, checked in by ryandesign@…, 4 years ago

use eq and ne instead of == and != when comparing ${os.arch}, ${configure.build_arch}, ${build_arch}, and some port-specific variables for referring to architectures

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 648 bytes
Line 
1# $Id: Portfile 114328 2013-12-05 10:21:52Z ryandesign@macports.org $
2
3PortSystem              1.0
4
5name                    libhangul
6version                 0.0.4
7categories              x11
8license                 LGPL-2.1+
9platforms               darwin
10maintainers             nomaintainer
11description             A library for hangul processing.
12long_description        ${description}
13                       
14homepage                http://nabi.kldp.net
15master_sites            http://kldp.net/frs/download.php/3733/
16
17depends_lib             port:libiconv
18checksums               md5 a32301e03a381917cb2ec836a43a9664
19patchfiles              patch-Makefile patch-test
20
21post-patch {
22    if {${os.arch} eq "powerpc"} {
23            reinplace "s|__PLATFORM__|ppc|g" \
24                    ${worksrcpath}/test/hangul.c
25    } else {
26        reinplace "s|__PLATFORM__|${os.arch}|g" \
27                    ${worksrcpath}/test/hangul.c
28    }
29}
Note: See TracBrowser for help on using the repository browser.