source: trunk/dports/perl/p5-nkf/Portfile @ 57375

Last change on this file since 57375 was 57375, checked in by ryandesign@…, 10 years ago

Change deprecated livecheck.check to livecheck.type
See http://lists.macosforge.org/pipermail/macports-dev/2009-August/009699.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $
2
3PortSystem      1.0
4PortGroup       perl5 1.0
5
6set nkf_ver     2.0.9
7set nkf_date    20090426
8perl5.setup     NKF [string range ${nkf_ver} 0 2][string range ${nkf_ver} 4 end]-${nkf_date}
9categories-append \
10                textproc japanese
11maintainers     nifty.com:pelopor takanori openmaintainer
12description     A perl extension module to use nkf.
13long_description \
14                ${description}
15platforms       darwin
16homepage        http://sourceforge.jp/projects/nkf/
17master_sites    sourceforge_jp:nkf/37177/:nkf \
18                macports:nkf:patch
19distname        nkf-${nkf_ver}
20dist_subdir     nkf
21distfiles       [suffix ${distname}]:nkf
22patchfiles      nkf-${nkf_ver}-${nkf_date}.patch:patch
23checksums       nkf-${nkf_ver}-${nkf_date}.patch    rmd160  43ac422070f1b2ce476f6af562464156ea2786c2 \
24                [suffix ${distname}]                rmd160  c27b176f675428c0cbfb7779700979e60de3a42f
25
26worksrcdir      ${distname}/NKF.mod
27
28patch.dir       ${workpath}/${distname}
29patch.pre_args  -p1
30
31post-destroot {
32    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/doc
33    xinstall -m 644 -W ${worksrcpath} Changes README ${destroot}${prefix}/share/doc/${name}
34}
35
36livecheck.type      regex
37livecheck.url       ${homepage}files/
38livecheck.version   ${nkf_ver}
39livecheck.regex     nkf-(\[0-9.a-z\]+)\\.tar
Note: See TracBrowser for help on using the repository browser.