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

Last change on this file since 94655 was 94655, checked in by jmr@…, 8 years ago

perl ports:

  • enable threads (#34723, #26323, #23993) and shared (#23089) by default, removing variants
  • add explicit perl5.branches to all p5 ports (#34784)
  • use non-conflicting vendorbin and vendorman* so p5.x-foo doesn't conflict with p5.y-foo
  • use non-conflicting sitebin and siteman*
  • add perl5.link_binaries and perl5.link_binaries_suffix options to portgroup
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 94655 2012-06-26 06:25:00Z jmr@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        1
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
25checksums       rmd160  91c0d413a70299246591d314d33f45e71eba51a7
26
27worksrcdir  ${distname}/NKF.mod
28
29patch.pre_args  -p1
30pre-patch {
31    worksrcdir  ${distname}
32}
33post-patch {
34    worksrcdir  ${distname}/NKF.mod
35}
36
37post-destroot {
38    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/doc
39    xinstall -m 644 -W ${worksrcpath} Changes README ${destroot}${prefix}/share/doc/${name}
40}
41}
42livecheck.type      regex
43livecheck.url       ${homepage}files/
44livecheck.version   ${nkf_ver}
45livecheck.regex     nkf-(\[0-9.a-z\]+)\\.tar
Note: See TracBrowser for help on using the repository browser.