Changeset 43317


Ignore:
Timestamp:
Dec 9, 2008, 3:15:29 AM (10 years ago)
Author:
blb@…
Message:

www/polipo - move config files to ${prefix}/etc and add startupitem
(ticket #14617)

Location:
trunk/dports/www/polipo
Files:
6 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/www/polipo/Portfile

    r32850 r43317  
    55name                    polipo
    66version                 1.0.4
     7revision                1
    78categories              www
    89platforms               darwin
     
    1718                        sha1 ba562906d125a6bf72dc36c2d078147d40cf8722 \
    1819                        rmd160 31739c5a5958c136ad452e877636b9f26343684f
     20
     21patchfiles              patch-config.sample.diff patch-forbidden.c.diff \
     22                                patch-forbidden.sample.diff patch-main.c.diff \
     23                                patch-polipo.man.diff
     24
     25post-patch {
     26        reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/config.sample \
     27                ${worksrcpath}/forbidden.c ${worksrcpath}/forbidden.sample \
     28                ${worksrcpath}/main.c ${worksrcpath}/polipo.man
     29}
    1930
    2031use_configure   no
     
    3445
    3546post-destroot   {
     47        xinstall -m 755 -d ${destroot}${prefix}/etc/polipo
    3648        xinstall -m 644 ${worksrcpath}/config.sample \
    37                 ${destroot}${prefix}/etc/polipo.conf.sample
     49                ${worksrcpath}/forbidden.sample ${destroot}${prefix}/etc/polipo/
    3850}
     51
     52startupitem.create              yes
     53startupitem.netchange   yes
     54startupitem.executable  ${prefix}/bin/polipo
     55startupitem.name                Polipo
    3956
    4057livecheck.check regex
Note: See TracChangeset for help on using the changeset viewer.