Ticket #21056: p5-template-toolkit-from-2.19-to-2.22.diff
File p5-template-toolkit-from-2.19-to-2.22.diff, 1.9 KB (added by vitaly@…, 15 years ago) |
---|
-
Portfile
old new 3 3 PortSystem 1.0 4 4 5 5 PortGroup perl5 1.0 6 perl5.setup Template-Toolkit 2. 196 perl5.setup Template-Toolkit 2.22 7 7 maintainers nomaintainer 8 8 platforms darwin 9 9 … … 20 20 21 21 homepage http://www.template-toolkit.org/ 22 22 23 checksums md5 5c886d392ca57a13ded91fa64834913c 24 25 depends_lib-append port:p5-appconfig \ 26 port:p5-file-homedir \ 27 port:p5-mac-carbon 28 29 patchfiles patch-Makefile.PL 23 checksums md5 d98277f6420e5da6b93d99a8db2b3934 \ 24 sha1 5e553cdb97a594e0d81c5bd7c9b5664f963ffa4f \ 25 rmd160 bcb15f3cf7de5f9ec6de31f9b427c22f30c1592e 30 26 31 27 configure.post_args TT_PREFIX=${prefix}/share/tt2 \ 32 28 TT_ACCEPT=y \ 33 29 TT_QUIET=y 34 30 35 # During install (or destroot in DP's case), parts are expected to be36 # installed already, earlier in the install; this step causes the install37 # to use the destroot'd version, then we switch it back in post-destroot38 post-configure {39 reinplace "s|${prefix}|${destroot}${prefix}|g" \40 ${worksrcpath}/docs/ttree.cfg ${worksrcpath}/examples/ttree.cfg41 }42 43 destroot.target-append tt2_install tt2_splash tt2_html_docs tt2_examples44 45 31 post-destroot { 46 32 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} 47 33 xinstall -m 644 -W ${worksrcpath} INSTALL README \ 48 34 ${destroot}${prefix}/share/doc/${name} 49 reinplace "s|${destroot}${prefix}|${prefix}|g" \50 ${destroot}${prefix}/share/tt2/docs/ttree.cfg \51 ${destroot}${prefix}/share/tt2/examples/ttree.cfg52 35 } 53 36 54 variant DBI {55 depends_lib-append port:p5-dbi56 }