[97545] trunk/dports/perl
pixilla at macports.org
pixilla at macports.org
Sat Sep 8 09:50:25 PDT 2012
Revision: 97545
https://trac.macports.org/changeset/97545
Author: pixilla at macports.org
Date: 2012-09-08 09:50:25 -0700 (Sat, 08 Sep 2012)
Log Message:
-----------
perl/p5-sgmlspm:
- New port p5-sgmlspm version 1.03ii with perl 5.8, 5.10, 5.12, 5.14 and 5.16 subports.
Added Paths:
-----------
trunk/dports/perl/p5-sgmlspm/
trunk/dports/perl/p5-sgmlspm/Portfile
Added: trunk/dports/perl/p5-sgmlspm/Portfile
===================================================================
--- trunk/dports/perl/p5-sgmlspm/Portfile (rev 0)
+++ trunk/dports/perl/p5-sgmlspm/Portfile 2012-09-08 16:50:25 UTC (rev 97545)
@@ -0,0 +1,44 @@
+# -*- 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
+# $Id$
+
+PortSystem 1.0
+PortGroup perl5 1.0
+
+perl5.branches 5.8 5.10 5.12 5.14 5.16
+perl5.setup SGMLSpm 1.03ii
+platforms darwin
+license GPL-2+
+maintainers fourpalms.org:lockhart openmaintainer
+description Convert SGML, HTML, or XML documents into new formats.
+long_description Perl programs can use the SGMLSpm module to help convert \
+ SGML, HTML or XML documents into new formats.
+
+homepage http://search.cpan.org/dist/SGMLSpm/
+master_sites http://search.cpan.org/CPAN/authors/id/D/DM/DMEGG/
+
+checksums rmd160 919963150640d4c1a2a52439cd0d985c52c71bb3 \
+ sha256 f06895c0206dada9f9e7f07ecaeb6a3651fd648f4820f49c1f76bfeaec2f2913
+
+depends_lib-append port:openjade \
+ port:opensp
+
+worksrcdir ${perl5.module}
+
+if {${perl5.major} != ""} {
+ post-patch {
+ reinplace "s|/usr/local/|${destroot}${prefix}/|" ${worksrcpath}/Makefile
+ reinplace "s|/usr/local/|${destroot}${prefix}/|" ${worksrcpath}/DOC/Makefile
+
+ xinstall -d -m 775 ${destroot}${prefix}/bin
+ xinstall -d -m 775 ${destroot}${perl5.lib}
+ xinstall -d -m 775 ${destroot}${perl5.lib}/SGMLS
+ }
+
+ use_configure no
+
+ build.args-append PERL=${perl5.bin} BINDIR=${destroot}${prefix}/bin
+ build.args-append PERL5DIR=${destroot}${perl5.lib}
+ build.args-append HTMLDIR=${destroot}${prefix}/share/doc/${subport}
+
+ destroot.target install
+}
Property changes on: trunk/dports/perl/p5-sgmlspm/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120908/de8b04f8/attachment-0001.html>
More information about the macports-changes
mailing list