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

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

nkf: version bump to 2.0.9-20090426

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
RevLine 
[19815]1# $Id: Portfile 50206 2009-04-27 18:57:31Z takanori@macports.org $
[16142]2
[26626]3PortSystem      1.0
[31281]4
[26626]5name            nkf
[50206]6set nkf_ver     2.0.9
7set nkf_date    20090426
8version         ${nkf_ver}-${nkf_date}
[26626]9categories      textproc japanese
[42485]10maintainers     takanori openmaintainer
[26626]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
[31281]17homepage        http://sourceforge.jp/projects/nkf/
[50206]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
[31281]25
[50206]26patch.pre_args -p1
27
[26626]28use_configure   no
[31281]29
[16142]30build.target
[26626]31build.args      CFLAGS="${configure.cflags}"
[16142]32
[46266]33test.run        yes
34
[36819]35use_parallel_build  yes
36
[26626]37destroot {
38    xinstall -m 755 ${worksrcpath}/nkf ${destroot}${prefix}/bin
39    xinstall -m 644 ${worksrcpath}/nkf.1 ${destroot}${prefix}/share/man/man1
[16142]40}
41
[26626]42post-destroot {
43    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
44    xinstall -m 644 ${worksrcpath}/nkf.doc ${destroot}${prefix}/share/doc/${name}
[16142]45}
[20622]46
[26625]47variant universal {
[26626]48    build.args  CFLAGS="${configure.cflags} ${configure.universal_cflags}"
[26625]49}
50
[20622]51livecheck.check regex
[26945]52livecheck.url   ${homepage}files/
[31281]53livecheck.regex ${name}-(\[0-9.a-z\]+)\\.tar
Note: See TracBrowser for help on using the repository browser.