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

Last change on this file was 154393, checked in by mojca@…, 11 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.1 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
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7perl5.branches      5.24
8perl5.setup         SGML-Parser-OpenSP 0.994
9revision            4
10platforms           darwin
11license             {Artistic-1 GPL}
12maintainers         nomaintainer
13description         Provides an interface to the OpenSP SGML parser.
14long_description    ${description}
15
16checksums           md5 b1ee0244e9daa4d37f28cf32c4753691 \
17                    sha1 7d63abac63da9fc2352cbdee476f4d095f84366f \
18                    rmd160 fcdfefdc139bec595732c0eab9a7d7e251ba6d42
19
20if {${perl5.major} != ""} {
21    patchfiles      Makefile.PL.patch
22    # wants to put C++ code in a .c file for some reason
23    post-patch {
24        reinplace "s|__CXX__|${configure.cxx}|" ${worksrcpath}/Makefile.PL
25    }
26    configure.cc    ${configure.cxx}
27    depends_lib-append \
28                    port:p${perl5.major}-class-accessor \
29                    port:p${perl5.major}-file-temp \
30                    port:p${perl5.major}-test-exception \
31                    port:opensp
32}
Note: See TracBrowser for help on using the repository browser.