Ticket #1648: patch-logsentry

File patch-logsentry, 1.0 KB (added by julien.touche@…, 20 years ago)

patch

Line 
1--- Portfile.orig       Mon Mar 15 23:41:29 2004
2+++ Portfile    Mon Mar 15 23:42:19 2004
3@@ -31,13 +31,13 @@
4        file mkdir ${destroot}${prefix}/share/doc/${name}
5        foreach doc_file {
6          CREDITS INSTALL README README.how.to.interpret README.keywords
7-       } { system "install -m 644 $doc_file ${destroot}${prefix}/share/doc/${name}" }
8+       } { system "install -m 644 ${worksrcpath}/$doc_file ${destroot}${prefix}/share/doc/${name}" }
9        foreach file {
10             logcheck.violations logcheck.violations.ignore \
11             logcheck.ignore logcheck.hacking
12-       } { system "install -m 644 systems/generic/$file ${destroot}${prefix}/etc/${name}" }
13-       system "install -m 755 src/logtail ${destroot}${prefix}/bin/"
14-       system "install -m 755 systems/generic/logcheck.sh ${destroot}${prefix}/bin/"
15+       } { system "install -m 644 ${worksrcpath}/systems/generic/$file ${destroot}${prefix}/etc/${name}" }
16+       system "install -m 755 ${worksrcpath}/src/logtail ${destroot}${prefix}/bin/"
17+       system "install -m 755 ${worksrcpath}/systems/generic/logcheck.sh ${destroot}${prefix}/bin/"
18 }
19 
20 post-destroot {