Ticket #14617: Portfile.diff
File Portfile.diff, 1.2 KB (added by blb@…, 17 years ago) |
---|
-
Portfile
17 17 sha1 ba562906d125a6bf72dc36c2d078147d40cf8722 \ 18 18 rmd160 31739c5a5958c136ad452e877636b9f26343684f 19 19 20 patchfiles patch-config.sample.diff patch-forbidden.c.diff \ 21 patch-forbidden.sample.diff patch-main.c.diff \ 22 patch-polipo.man.diff 23 24 post-patch { 25 reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/config.sample \ 26 ${worksrcpath}/forbidden.c ${worksrcpath}/forbidden.sample \ 27 ${worksrcpath}/main.c ${worksrcpath}/polipo.man 28 } 29 20 30 use_configure no 21 31 22 32 build.args PREFIX=${prefix} \ … … 33 43 destroot.keepdirs ${destroot}${prefix}/var/cache/polipo 34 44 35 45 post-destroot { 46 xinstall -m 755 -d ${destroot}${prefix}/etc/polipo 36 47 xinstall -m 644 ${worksrcpath}/config.sample \ 37 ${ destroot}${prefix}/etc/polipo.conf.sample48 ${worksrcpath}/forbidden.sample ${destroot}${prefix}/etc/polipo/ 38 49 } 39 50 51 startupitem.create yes 52 startupitem.netchange yes 53 startupitem.executable ${prefix}/bin/polipo 54 startupitem.name Polipo 55 40 56 livecheck.check regex 41 57 livecheck.url ${homepage}CHANGES.text 42 58 livecheck.regex Polipo (${version})