Portfile

# $Id: Portfile 22901 2007-03-18 11:36:20Z pipping@macports.org $

PortSystem 1.0

name polipo
version 1.0.0
categories www
platforms darwin
maintainers boeyms@fastmail.fm openmaintainer@macports.org
description small and fast web caching proxy
long_description Polipo is a small and fast caching web proxy designed to \
be used by one person or a small group of people.

homepage http://www.pps.jussieu.fr/~jch/software/polipo/
master_sites http://www.pps.jussieu.fr/~jch/software/files/polipo/
checksums md5 e9db1fadbce47b8664351d14510bd5c9 \
sha1 c6910ef207eff1c1765af0b76f28d2fb3a011742 \
rmd160 c054f47afc807857945824315976dbe54304a6ea

use_configure no

patchfiles patch-Makefile

build.args PREFIX=${prefix} \
LOCAL_ROOT=${prefix}/share/polipo/www \
DISK_CACHE_ROOT=${prefix}/var/cache/polipo

destroot.destdir PREFIX=${prefix} \
TARGET=${destroot} \
MANDIR=${prefix}/share/man \
INFODIR=${prefix}/share/info \
DISK_CACHE_ROOT=${prefix}/var/cache/polipo \
LOCAL_ROOT=${prefix}/share/polipo/www

destroot.keepdirs ${destroot}${prefix}/var/cache/polipo

post-destroot {
xinstall -m 644 ${worksrcpath}/config.sample \
${destroot}${prefix}/etc/polipo.conf.sample
}

files