source: trunk/dports/perl/p5-sgml-parser-opensp/Portfile @ 136621

Last change on this file since 136621 was 130129, checked in by mojca@…, 5 years ago

p5-*: remove support for Perl versions 5.8-5.14 (#46322)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1008 bytes
RevLine 
[37585]1# $Id: Portfile 130129 2014-12-27 11:23:11Z mojca@macports.org $
2
3PortSystem          1.0
4PortGroup           perl5 1.0
5
[130129]6perl5.branches      5.16 5.18 5.20
[37950]7perl5.setup         SGML-Parser-OpenSP 0.994
[94655]8revision            4
[37585]9platforms           darwin
[93304]10license             {Artistic-1 GPL}
[70012]11maintainers         nomaintainer
[37585]12description         Provides an interface to the OpenSP SGML parser.
13long_description    ${description}
14
[37950]15checksums           md5 b1ee0244e9daa4d37f28cf32c4753691 \
16                    sha1 7d63abac63da9fc2352cbdee476f4d095f84366f \
17                    rmd160 fcdfefdc139bec595732c0eab9a7d7e251ba6d42
[37585]18
[82547]19if {${perl5.major} != ""} {
[93304]20patchfiles          Makefile.PL.patch
[94661]21# wants to put C++ code in a .c file for some reason
22post-patch {
23    reinplace "s|__CXX__|${configure.cxx}|" ${worksrcpath}/Makefile.PL
24}
[95262]25configure.cc        ${configure.cxx}
[82547]26depends_lib-append  port:p${perl5.major}-class-accessor \
27                    port:p${perl5.major}-file-temp \
28                    port:p${perl5.major}-test-exception \
[37585]29                    port:opensp
[82547]30}
Note: See TracBrowser for help on using the repository browser.