source: trunk/dports/www/polipo/Portfile @ 87969

Last change on this file since 87969 was 86786, checked in by boeyms@…, 8 years ago

Relinquish port maintenance.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 86786 2011-11-04 05:20:35Z boeyms@macports.org $
2
3PortSystem 1.0
4
5name                    polipo
6version                 1.0.4
7revision                1
8categories              www
9platforms               darwin
10maintainers             nomaintainer
11description             small and fast web caching proxy
12long_description        Polipo is a small and fast caching web proxy designed to \
13                                be used by one person or a small group of people.
14
15homepage                http://www.pps.jussieu.fr/~jch/software/polipo/
16master_sites    http://www.pps.jussieu.fr/~jch/software/files/polipo/
17checksums               md5 defdce7f8002ca68705b6c2c36c4d096 \
18                        sha1 ba562906d125a6bf72dc36c2d078147d40cf8722 \
19                        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}
30
31use_configure   no
32
33build.args              PREFIX=${prefix} \
34                                LOCAL_ROOT=${prefix}/share/polipo/www \
35                                DISK_CACHE_ROOT=${prefix}/var/cache/polipo
36
37destroot.destdir        PREFIX=${prefix} \
38                                TARGET=${destroot} \
39                                MANDIR=${prefix}/share/man \
40                                INFODIR=${prefix}/share/info \
41                                DISK_CACHE_ROOT=${prefix}/var/cache/polipo \
42                                LOCAL_ROOT=${prefix}/share/polipo/www
43
44destroot.keepdirs ${destroot}${prefix}/var/cache/polipo
45
46post-destroot   {
47        xinstall -m 755 -d ${destroot}${prefix}/etc/polipo
48        xinstall -m 644 ${worksrcpath}/config.sample \
49                ${worksrcpath}/forbidden.sample ${destroot}${prefix}/etc/polipo/
50}
51
52startupitem.create              yes
53startupitem.netchange   yes
54startupitem.executable  ${prefix}/bin/polipo
55startupitem.name                Polipo
56
57livecheck.type  regex
58livecheck.url   ${homepage}CHANGES.text
59livecheck.regex Polipo (${version})
Note: See TracBrowser for help on using the repository browser.