Ticket #496: patch-20030426

File patch-20030426, 522 bytes (added by bchesneau@…, 21 years ago)

Place bind.sh in files dir and replace %%PREFIX%% in

Line 
1--- Portfile-old        Sat Apr 26 15:51:42 2003
2+++ Portfile    Sat Apr 26 15:54:50 2003
3@@ -18,9 +18,14 @@
4 
5 configure.args         --mandir=${prefix}/share/man --localstatedir=${prefix}/var
6 
7+post-patch     {
8+       system "sed -e \"s=%%PREFIX%%=${prefix}=g\" ${filespath}/bind.sh >${portpath}/bind.sh"
9+}
10+
11 post-install   {
12        file mkdir ${destroot}${prefix}/etc/rc.d/
13        file mkdir ${destroot}${prefix}/var/run/
14+       file mkdir ${destroot}${prefix}/var/named/
15        system "install -bC -o root ${portpath}/bind.sh ${destroot}${prefix}/etc/rc.d/"
16 }
17