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

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

p5-nkf: nkf version 2.1.3 (2012-08-29)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 97689 2012-09-12 09:00:10Z takanori@macports.org $
2
3PortSystem      1.0
4PortGroup       perl5 1.0
5
6set nkf_ver     2.1.2
7perl5.branches      5.8 5.10 5.12 5.14 5.16
8perl5.setup     NKF [string range ${nkf_ver} 0 2][string range ${nkf_ver} 4 end]
9revision        2
10categories-append \
11                textproc japanese
12maintainers     nifty.com:pelopor takanori openmaintainer
13description     A perl extension module to use nkf.
14long_description \
15                ${description}
16platforms       darwin
17license         zlib
18homepage        http://sourceforge.jp/projects/nkf/
19master_sites    sourceforge_jp:nkf/53171/
20distname        nkf-${nkf_ver}
21dist_subdir     nkf
22if {${perl5.major} != ""} {
23distfiles       [suffix ${distname}]:nkf
24patchfiles      nkf.git-ecf2a983ff0945462d731afa9b4d7327cfeb9b5a.patch \
25                nkf.git-4e632c30b502e56032a1781e4edf44ec462fe6ad.patch \
26                nkf.git-832e032be763ec6acf1cf13225b0d72f1b867a18.patch \
27                nkf.git-6bbe38e718c98825229bce7ef9f8d236e63c095f.patch \
28                nkf.git-fcc185d621977d87cc50c1561be0aff3924af2ac.patch
29checksums       rmd160  91c0d413a70299246591d314d33f45e71eba51a7
30
31worksrcdir  ${distname}/NKF.mod
32
33patch.pre_args  -p1
34pre-patch {
35    worksrcdir  ${distname}
36}
37post-patch {
38    worksrcdir  ${distname}/NKF.mod
39}
40
41post-destroot {
42    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/doc
43    xinstall -m 644 -W ${worksrcpath} Changes README ${destroot}${prefix}/share/doc/${name}
44}
45}
46livecheck.type      regex
47livecheck.url       ${homepage}files/
48livecheck.version   ${nkf_ver}
49livecheck.regex     nkf-(\[0-9.a-z\]+)\\.tar
Note: See TracBrowser for help on using the repository browser.