Ticket #23636: Portfile.patch
File Portfile.patch, 1.7 KB (added by steve@…, 15 years ago) |
---|
-
Portfile.
old new 3 3 PortSystem 1.0 4 4 5 5 name dokuwiki 6 version 200 4-11-026 version 2009-12-25 7 7 categories www 8 8 platforms darwin 9 9 maintainers nomaintainer … … 18 18 master_sites http://www.splitbrain.org/_media/projects/dokuwiki/ \ 19 19 http://dev.splitbrain.org/browse/snapshots/ 20 20 extract.suffix .tgz 21 checksums md5 6a26abbae28f774cd142ee0582cd1b7821 checksums md5 1428c896de83bd2a754efd18919d0594 22 22 23 23 depends_run port:apache2 \ 24 port:php 424 port:php5 25 25 26 26 use_configure no 27 27 … … 33 33 system "cd ${destroot}${prefix}/apache2/htdocs/ \ 34 34 && ln -sf ${prefix}/share/${name}" 35 35 file copy ${worksrcpath} ${destroot}${prefix}/share/${name} 36 file rename ${destroot}${prefix}/share/${name}/attic \37 ${destroot}${prefix}/var/${name}/attic38 36 file rename ${destroot}${prefix}/share/${name}/data \ 39 37 ${destroot}${prefix}/var/${name}/data 40 file rename ${destroot}${prefix}/share/${name}/media \41 ${destroot}${prefix}/var/${name}/media42 system "touch ${destroot}${prefix}/var/${name}/attic/.turd"43 38 system "touch ${destroot}${prefix}/var/${name}/data/.turd" 44 39 system "touch ${destroot}${prefix}/share/${name}/changes.log" 45 40 system "cd ${destroot}${prefix}/share/${name}/ \ 46 && ln -s ${prefix}/var/${name}/data \ 47 && ln -s ${prefix}/var/${name}/attic \ 48 && ln -s ${prefix}/var/${name}/media" 41 && ln -s ${prefix}/var/${name}/data" 49 42 system "chown -R www:www ${destroot}${prefix}/var/${name} \ 50 ${destroot}${prefix}/share/${name}/changes.log" 43 ${destroot}${prefix}/share/${name}/changes.log \ 44 ${destroot}${prefix}/share/${name}/conf \ 45 ${destroot}${prefix}/share/${name}/lib/plugins" 51 46 }