source: trunk/dports/perl/p5-text-chasen/Portfile

Last change on this file was 154393, checked in by mojca@…, 11 months ago

p5-*: remove subports for perl5.22 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 154393 2016-10-28 22:10:07Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7perl5.branches      5.24
8perl5.setup         Text-ChaSen 1.04
9revision            4
10categories-append   textproc japanese
11maintainers         nomaintainer
12description         ChaSen library module for Perl5.
13long_description    ${description}
14platforms           darwin
15license             Restrictive/Distributable
16homepage            http://chasen.naist.jp/hiki/ChaSen/
17
18checksums           rmd160  964b4f3a63554cd04a272c22be0d5a8dc9258484 \
19                    sha256  5690c9732a2d14baf50f76b7f11ba6aa2fb4ecb08c3fb085df6f2d97a8692c8c
20
21if {${perl5.major} != ""} {
22    depends_build-append \
23                    port:libiconv
24    depends_lib-append \
25                    port:chasen
26
27    post-destroot {
28        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/doc
29        xinstall -m 644 -W ${worksrcpath} ChangeLog README ${destroot}${prefix}/share/doc/${name}
30
31        delete ${destroot}${prefix}/share/man
32
33        system "pod2text ${worksrcpath}/ChaSen.pm ${destroot}${prefix}/share/doc/${name}/usage.jp"
34    }
35}
Note: See TracBrowser for help on using the repository browser.