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

Last change on this file since 94661 was 94661, checked in by jmr@…, 8 years ago

p5-sgml-parser-opensp: this really wants a C++ compiler in CC, so at least give it the right C++ compiler

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 980 bytes
Line 
1# $Id: Portfile 94661 2012-06-26 14:34:40Z jmr@macports.org $
2
3PortSystem          1.0
4PortGroup           perl5 1.0
5
6perl5.branches      5.8 5.10 5.12 5.14 5.16
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}
25depends_lib-append  port:p${perl5.major}-class-accessor \
26                    port:p${perl5.major}-file-temp \
27                    port:p${perl5.major}-test-exception \
28                    port:opensp
29}
Note: See TracBrowser for help on using the repository browser.