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

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

nkf: Fixed missing colon.

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