source: trunk/dports/textproc/nkf/Portfile @ 46266

Last change on this file since 46266 was 46266, checked in by takanori@…, 11 years ago

nkf: version 2.0.9

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 46266 2009-02-01 22:04:27Z takanori@macports.org $
2
3PortSystem      1.0
4
5name            nkf
6version         2.0.9
7categories      textproc japanese
8maintainers     takanori openmaintainer
9description     Network Kanji code conversion Filter
10long_description \
11                Nkf  is  a  yet  another kanji code converter among networks, hosts and \
12                terminals.  It converts input kanji code to designated kanji code  such \
13                as 7-bit JIS, MS-kanji (shifted-JIS), utf-8 or EUC.
14platforms       darwin
15homepage        http://sourceforge.jp/projects/nkf/
16master_sites    sourceforge_jp:${name}/37177/
17checksums       md5 0dadcf178785c87874822a2ff8da9f19 \
18                sha1 68e9d5c6224940e6f1fe1d3cf0a54e47c5769a27 \
19                rmd160 c27b176f675428c0cbfb7779700979e60de3a42f
20
21use_configure   no
22
23build.target
24build.args      CFLAGS="${configure.cflags}"
25
26test.run        yes
27
28use_parallel_build  yes
29
30destroot {
31    xinstall -m 755 ${worksrcpath}/nkf ${destroot}${prefix}/bin
32    xinstall -m 644 ${worksrcpath}/nkf.1 ${destroot}${prefix}/share/man/man1
33}
34
35post-destroot {
36    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
37    xinstall -m 644 ${worksrcpath}/nkf.doc ${destroot}${prefix}/share/doc/${name}
38}
39
40variant universal {
41    build.args  CFLAGS="${configure.cflags} ${configure.universal_cflags}"
42}
43
44livecheck.check regex
45livecheck.url   ${homepage}files/
46livecheck.regex ${name}-(\[0-9.a-z\]+)\\.tar
Note: See TracBrowser for help on using the repository browser.