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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup perl5 1.0 |
---|
6 | |
---|
7 | perl5.branches 5.8 5.10 5.12 5.14 5.16 |
---|
8 | perl5.setup SGMLSpm 1.03ii |
---|
9 | platforms darwin |
---|
10 | license GPL-2+ |
---|
11 | maintainers fourpalms.org:lockhart openmaintainer |
---|
12 | description Convert SGML, HTML, or XML documents into new formats. |
---|
13 | long_description Perl programs can use the SGMLSpm module to help convert \ |
---|
14 | SGML, HTML or XML documents into new formats. |
---|
15 | |
---|
16 | homepage http://search.cpan.org/dist/SGMLSpm/ |
---|
17 | master_sites http://search.cpan.org/CPAN/authors/id/D/DM/DMEGG/ |
---|
18 | |
---|
19 | checksums rmd160 919963150640d4c1a2a52439cd0d985c52c71bb3 \ |
---|
20 | sha256 f06895c0206dada9f9e7f07ecaeb6a3651fd648f4820f49c1f76bfeaec2f2913 |
---|
21 | |
---|
22 | depends_lib-append port:openjade \ |
---|
23 | port:opensp |
---|
24 | |
---|
25 | worksrcdir ${perl5.module} |
---|
26 | |
---|
27 | if {${perl5.major} != ""} { |
---|
28 | post-patch { |
---|
29 | reinplace "s|/usr/local/|${destroot}${prefix}/|" ${worksrcpath}/Makefile |
---|
30 | reinplace "s|/usr/local/|${destroot}${prefix}/|" ${worksrcpath}/DOC/Makefile |
---|
31 | |
---|
32 | xinstall -d -m 775 ${destroot}${prefix}/bin |
---|
33 | xinstall -d -m 775 ${destroot}${perl5.lib} |
---|
34 | xinstall -d -m 775 ${destroot}${perl5.lib}/SGMLS |
---|
35 | } |
---|
36 | |
---|
37 | use_configure no |
---|
38 | |
---|
39 | build.args-append PERL=${perl5.bin} BINDIR=${destroot}${prefix}/bin |
---|
40 | build.args-append PERL5DIR=${destroot}${perl5.lib} |
---|
41 | build.args-append HTMLDIR=${destroot}${prefix}/share/doc/${subport} |
---|
42 | |
---|
43 | destroot.target install |
---|
44 | } |
---|