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

Last change on this file was 154393, checked in by mojca@…, 13 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.3 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
4# This comment was inserted on 20160713 to force reindexing of
5# this port after the default homepage definition in the perl5
6# PortGroup was changed to use metacpan.org (r150080).
7# Reindexing is necessary for the new definition to take effect.
8# This comment may be removed in subsequent updates of this port.
9
10PortSystem          1.0
11PortGroup           perl5 1.0
12
13perl5.branches      5.24
14perl5.setup         Text-Kakasi 2.04
15revision            4
16categories-append   textproc japanese
17maintainers         nomaintainer
18description         This module provides interface to kakasi.
19long_description    ${description}
20platforms           darwin
21license             GPL-2+
22
23checksums           rmd160  26f81dec43a278d5abed501fac860c0884d97726 \
24                    sha256  844c01e78ba4bfb89c0702995a86f488de7c29b40a75e7af0e4f39d55624dba0
25
26if {${perl5.major} != ""} {
27    patchfiles      patch-MANIFEST.diff \
28                    patch-lib-Text-Kakasi-JP.pod.diff
29
30    depends_lib-append \
31                    port:kakasi
32
33    post-patch {
34        reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/Makefile.PL
35        system "pod2text ${worksrcpath}/lib/Text/Kakasi/JP.pod ${worksrcpath}/usage.jp"
36        delete ${worksrcpath}/lib
37    }
38}
Note: See TracBrowser for help on using the repository browser.