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

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

perl/p5-*: add subports p5.22-* (#48313)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1013 bytes
Line 
1# $Id: Portfile 138528 2015-07-11 09:40:02Z mojca@macports.org $
2
3PortSystem          1.0
4PortGroup           perl5 1.0
5
6perl5.branches      5.16 5.18 5.20 5.22
7perl5.setup         SGML-Parser-OpenSP 0.994
8revision            4
9platforms           darwin
10license             {Artistic-1 GPL}
11maintainers         nomaintainer
12description         Provides an interface to the OpenSP SGML parser.
13long_description    ${description}
14
15checksums           md5 b1ee0244e9daa4d37f28cf32c4753691 \
16                    sha1 7d63abac63da9fc2352cbdee476f4d095f84366f \
17                    rmd160 fcdfefdc139bec595732c0eab9a7d7e251ba6d42
18
19if {${perl5.major} != ""} {
20patchfiles          Makefile.PL.patch
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}
25configure.cc        ${configure.cxx}
26depends_lib-append  port:p${perl5.major}-class-accessor \
27                    port:p${perl5.major}-file-temp \
28                    port:p${perl5.major}-test-exception \
29                    port:opensp
30}
Note: See TracBrowser for help on using the repository browser.