source: trunk/dports/perl/p5-encode-jis2k/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         Encode-JIS2K 0.03
15revision            1
16license             {Artistic-1 GPL}
17platforms           darwin
18maintainers         nomaintainer
19description         JIS X 0212 (aka JIS 2000) Encodings
20long_description    This module implements encodings that covers JIS X 0213 \
21                    charset (AKA JIS 2000, hence the module name).
22
23checksums           rmd160  da26396f1f8fecd553c242f75246f16adfe80807 \
24                    sha256  1ec84d72db39deb4dad6fca95acfcc21033f45a24d347c20f9a1a696896c35cc
25
26if {${perl5.major} != ""} {
27    depends_lib-append \
28                    port:p${perl5.major}-encode
29
30    patchfiles      patch-Makefile.PL.diff
31
32    post-patch {
33        reinplace -W ${worksrcpath} "s|__MP__ENC2XS__|enc2xs-${perl5.major}|" \
34            Makefile.PL
35    }
36}
Note: See TracBrowser for help on using the repository browser.