[58592] trunk/dports/perl/p5-template-toolkit
narf_tm at macports.org
narf_tm at macports.org
Thu Oct 1 07:31:04 PDT 2009
Revision: 58592
http://trac.macports.org/changeset/58592
Author: narf_tm at macports.org
Date: 2009-10-01 07:31:00 -0700 (Thu, 01 Oct 2009)
Log Message:
-----------
Updated to 2.22. Thanks vitaly. Closes ticket #21056.
Modified Paths:
--------------
trunk/dports/perl/p5-template-toolkit/Portfile
Removed Paths:
-------------
trunk/dports/perl/p5-template-toolkit/files/
Modified: trunk/dports/perl/p5-template-toolkit/Portfile
===================================================================
--- trunk/dports/perl/p5-template-toolkit/Portfile 2009-10-01 13:53:46 UTC (rev 58591)
+++ trunk/dports/perl/p5-template-toolkit/Portfile 2009-10-01 14:31:00 UTC (rev 58592)
@@ -3,7 +3,7 @@
PortSystem 1.0
PortGroup perl5 1.0
-perl5.setup Template-Toolkit 2.19
+perl5.setup Template-Toolkit 2.22
maintainers nomaintainer
platforms darwin
@@ -20,37 +20,17 @@
homepage http://www.template-toolkit.org/
-checksums md5 5c886d392ca57a13ded91fa64834913c
+checksums md5 d98277f6420e5da6b93d99a8db2b3934 \
+ sha1 5e553cdb97a594e0d81c5bd7c9b5664f963ffa4f \
+ rmd160 bcb15f3cf7de5f9ec6de31f9b427c22f30c1592e
-depends_lib-append port:p5-appconfig \
- port:p5-file-homedir \
- port:p5-mac-carbon
-
-patchfiles patch-Makefile.PL
-
configure.post_args TT_PREFIX=${prefix}/share/tt2 \
TT_ACCEPT=y \
TT_QUIET=y
-# During install (or destroot in DP's case), parts are expected to be
-# installed already, earlier in the install; this step causes the install
-# to use the destroot'd version, then we switch it back in post-destroot
-post-configure {
- reinplace "s|${prefix}|${destroot}${prefix}|g" \
- ${worksrcpath}/docs/ttree.cfg ${worksrcpath}/examples/ttree.cfg
-}
-
-destroot.target-append tt2_install tt2_splash tt2_html_docs tt2_examples
-
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} INSTALL README \
${destroot}${prefix}/share/doc/${name}
- reinplace "s|${destroot}${prefix}|${prefix}|g" \
- ${destroot}${prefix}/share/tt2/docs/ttree.cfg \
- ${destroot}${prefix}/share/tt2/examples/ttree.cfg
}
-variant DBI {
- depends_lib-append port:p5-dbi
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091001/4f08cd71/attachment.html>
More information about the macports-changes
mailing list