# -*- 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
PortSystem 1.0
PortGroup perl5 1.0
perl5.branches 5.26
perl5.setup Encode-JIS2K 0.03
revision 1
license {Artistic-1 GPL}
platforms darwin
maintainers nomaintainer
description JIS X 0212 (aka JIS 2000) Encodings
long_description This module implements encodings that covers JIS X 0213 \
charset (AKA JIS 2000, hence the module name).
checksums rmd160 da26396f1f8fecd553c242f75246f16adfe80807 \
sha256 1ec84d72db39deb4dad6fca95acfcc21033f45a24d347c20f9a1a696896c35cc
if {${perl5.major} != ""} {
depends_lib-append \
port:p${perl5.major}-encode
patchfiles patch-Makefile.PL.diff
post-patch {
reinplace -W ${worksrcpath} "s|__MP__ENC2XS__|enc2xs-${perl5.major}|" \
Makefile.PL
}
}