head	1.21;
access;
symbols
	RELEASE_8_3_0:1.19
	RELEASE_9_0_0:1.19
	RELEASE_7_4_0:1.19
	RELEASE_8_2_0:1.19
	RELEASE_6_EOL:1.19
	RELEASE_8_1_0:1.19
	RELEASE_7_3_0:1.18
	RELEASE_8_0_0:1.17
	RELEASE_7_2_0:1.17
	RELEASE_7_1_0:1.17
	RELEASE_6_4_0:1.17
	RELEASE_5_EOL:1.16
	RELEASE_7_0_0:1.14
	RELEASE_6_3_0:1.14
	PRE_XORG_7:1.9
	RELEASE_4_EOL:1.6
	RELEASE_6_2_0:1.6
	RELEASE_6_1_0:1.5
	RELEASE_5_5_0:1.5
	RELEASE_6_0_0:1.2
	RELEASE_5_4_0:1.1;
locks; strict;
comment	@# @;


1.21
date	2012.11.17.06.02.58;	author svnexp;	state Exp;
branches;
next	1.20;

1.20
date	2012.08.05.23.19.36;	author dougb;	state Exp;
branches;
next	1.19;

1.19
date	2010.03.28.05.52.12;	author dougb;	state Exp;
branches;
next	1.18;

1.18
date	2010.02.02.09.02.13;	author jadawin;	state Exp;
branches;
next	1.17;

1.17
date	2008.07.25.12.48.45;	author pav;	state Exp;
branches;
next	1.16;

1.16
date	2008.04.25.19.05.39;	author miwi;	state Exp;
branches;
next	1.15;

1.15
date	2008.01.10.23.19.14;	author miwi;	state Exp;
branches;
next	1.14;

1.14
date	2007.10.07.14.57.31;	author rafan;	state Exp;
branches;
next	1.13;

1.13
date	2007.10.04.06.21.45;	author edwin;	state Exp;
branches;
next	1.12;

1.12
date	2007.08.27.07.04.08;	author clsung;	state Exp;
branches;
next	1.11;

1.11
date	2007.08.04.11.41.27;	author gabor;	state Exp;
branches;
next	1.10;

1.10
date	2007.07.06.19.44.40;	author miwi;	state Exp;
branches;
next	1.9;

1.9
date	2007.03.06.21.01.58;	author miwi;	state Exp;
branches;
next	1.8;

1.8
date	2007.02.07.15.37.34;	author rafan;	state Exp;
branches;
next	1.7;

1.7
date	2007.02.06.21.05.52;	author miwi;	state Exp;
branches;
next	1.6;

1.6
date	2006.09.05.17.46.50;	author miwi;	state Exp;
branches;
next	1.5;

1.5
date	2006.01.14.16.49.31;	author pav;	state Exp;
branches;
next	1.4;

1.4
date	2005.12.05.02.34.06;	author edwin;	state Exp;
branches;
next	1.3;

1.3
date	2005.09.25.21.15.00;	author arved;	state Exp;
branches;
next	1.2;

1.2
date	2005.07.27.15.21.44;	author garga;	state Exp;
branches;
next	1.1;

1.1
date	2005.02.05.20.57.43;	author pav;	state Exp;
branches;
next	;


desc
@@


1.21
log
@Switch exporter over
@
text
@# New ports collection makefile for:   polipo
# Date created:        2005-01-25
# Whom:                Frank Behrens <frank@@pinky.sax.de>
#
# $FreeBSD: head/www/polipo/Makefile 302141 2012-08-05 23:19:36Z dougb $
#

PORTNAME=	polipo
PORTVERSION=	1.0.4.1
CATEGORIES=	www
MASTER_SITES=	http://freehaven.net/~chrisd/polipo/ \
		http://www.sax.de/~frank/polipo4bsd/files/

MAINTAINER=	frank@@pinky.sax.de
COMMENT=	A small and fast caching web proxy

MAN1=		polipo.1

MAKE_JOBS_SAFE=	yes
USE_RC_SUBR=	polipo

.include <bsd.port.pre.mk>

.if defined(NO_PTEXINFO)
ALL_TARGET=	polipo
NOPORTDOCS=	yes
.else
INFO=		polipo
.endif

DOCSDIR=	${DATADIR}/www/doc
PORTDOCS=	*

SUB_FILES=	pkg-message pkg-install pkg-deinstall 400.polipo
SUB_LIST+=	USER=${PUSER} GROUP=${PGRP} DESTDIR=${DESTDIR} PCONFIGDIR=${PCONFIGDIR} \
		PCACHEDIR=${PCACHEDIR} PPIDDIR=${PPIDDIR} PPIDFILE=${PPIDFILE} \
		PLOGFILE=${PLOGFILE}

# polipo installation options, propagated to install scripts
PUSER?=		polipo
PGRP?=		polipo
PCONFIGDIR?=	${PREFIX}/etc/polipo/
PCACHEDIR?=	/var/cache/polipo
PPIDDIR?=	/var/run/polipo/
PPIDFILE=	${PPIDDIR}polipo.pid
PLOGFILE?=	/var/log/polipo
MAKE_ENV+=	DISK_CACHE_ROOT=${PCACHEDIR}

pre-install: apply-slist
	@@PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/polipo ${PREFIX}/bin/
	${MKDIR} ${PREFIX}/etc/periodic/daily/
	${INSTALL_SCRIPT} ${WRKDIR}/400.polipo ${PREFIX}/etc/periodic/daily/
	${INSTALL_MAN} ${WRKSRC}/polipo.man ${PREFIX}/man/man1/polipo.1
	${MKDIR} ${PCONFIGDIR}
	${INSTALL_DATA} ${WRKSRC}/config.sample ${PCONFIGDIR}
	${INSTALL_DATA} ${WRKSRC}/forbidden.sample ${PCONFIGDIR}
	${CHGRP} -R ${PGRP} ${PCONFIGDIR}
.if !defined(NO_PTEXINFO)
	${INSTALL_DATA} ${WRKSRC}/polipo.info ${PREFIX}/info/
.endif
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/html/* ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/localindex.html ${DATADIR}/www/index.html
	${CHGRP} -R ${PGRP} ${DATADIR}
.endif

post-install:
	@@PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>
@


1.20
log
@SVN rev 302141 on 2012-08-05 23:19:36Z by dougb

Move the rc.d scripts of the form *.sh.in to *.in

Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.19
log
@Cleanse more RC_SUBR and RC_SUBR_SUFFIX variables
@
text
@d20 1
a20 1
USE_RC_SUBR=	polipo.sh
@


1.18
log
@- Update to 1.0.4.1

PR:		ports/143470
Submitted by:	Frank Behrens <frank pinky.sax.de>
@
text
@d37 1
a37 1
		PLOGFILE=${PLOGFILE} RC_SUBR=${RC_SUBR}
@


1.17
log
@- Remove duplicates from MAKE_ENV after inclusion of CC and CXX in default MAKE_ENV
@
text
@d9 1
a9 1
PORTVERSION=	1.0.4
d11 1
a11 1
MASTER_SITES=	http://www.pps.jussieu.fr/~jch/software/files/polipo/ \
d19 1
@


1.16
log
@- Respect CC

PR:		122944
Submitted by:	Frank Fenor <frank@@fenor.de>
Approved by:	maintainer
@
text
@a17 1
MAKE_ENV=	CC="${CC}"
@


1.15
log
@- Update to 1.0.4

PR:		119478
Submitted by:	Frank Behrens <frank@@pinky.sax.de> (maintainer)
@
text
@d18 1
@


1.14
log
@- Update to 1.0.3

PR:		ports/116994
Submitted by:	Frank Behrens <frank at pinky.sax.de> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.0.3
@


1.13
log
@Remove always-false/true conditions based on OSVERSION 500000
@
text
@d9 1
a9 1
PORTVERSION=	1.0.2
@


1.12
log
@Maintainer update for port www/polipo to version 1.0.2
- upstream update to 1.0.2
- fix for forgotten "-f" in last commit

PR:		ports/115848
Submitted by:	maintainer (Frank Behrens)
@
text
@a22 4
# in some 4.x makeinfo does not work. So we do not try to build and install.
.if ${OSVERSION} < 500000
NO_PTEXINFO=	yes
.endif
@


1.11
log
@- Remove the DESTDIR modifications from individual ports as we have a new,
  fully chrooted DESTDIR, which does not need such any more.

Sponsored by:	Google Summer of Code 2007
Approved by:	portmgr (pav)
@
text
@d9 1
a9 1
PORTVERSION=	1.0.1
@


1.10
log
@- Update to 1.0.1
- Remove possible stale pidfile on startup

PR:		114016
Submitted by:	Frank Behrens <frank@@pinky.sax.de> (maintainer)
@
text
@d56 8
a63 8
	${INSTALL_PROGRAM} ${WRKSRC}/polipo ${DESTDIR}${PREFIX}/bin/
	${MKDIR} ${DESTDIR}${PREFIX}/etc/periodic/daily/
	${INSTALL_SCRIPT} ${WRKDIR}/400.polipo ${DESTDIR}${PREFIX}/etc/periodic/daily/
	${INSTALL_MAN} ${WRKSRC}/polipo.man ${DESTDIR}${PREFIX}/man/man1/polipo.1
	${MKDIR} ${DESTDIR}${PCONFIGDIR}
	${INSTALL_DATA} ${WRKSRC}/config.sample ${DESTDIR}${PCONFIGDIR}
	${INSTALL_DATA} ${WRKSRC}/forbidden.sample ${DESTDIR}${PCONFIGDIR}
	${CHGRP} -R ${PGRP} ${DESTDIR}${PCONFIGDIR}
d65 1
a65 1
	${INSTALL_DATA} ${WRKSRC}/polipo.info ${DESTDIR}${PREFIX}/info/
d68 4
a71 4
	${MKDIR} ${DESTDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/html/* ${DESTDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/localindex.html ${DESTDIR}${DATADIR}/www/index.html
	${CHGRP} -R ${PGRP} ${DESTDIR}${DATADIR}
@


1.9
log
@- Update to 1.0.0

PR:             110007
Submitted by:   Frank Behrens <frank@@pinky.sax.de> (maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.0.0
@


1.8
log
@- Update to 0.9.12

PR:		ports/108877
Submitted by:	Frank Behrens <frank at pinky.sax.de> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	0.9.12
@


1.7
log
@- Update to version 0.9.11
- Fix expiry script, because newer port install removes ".sh" extension from rc script
- Group mail is not necessary for polipo user

PR:		108729
Submitted by:	farrokhi@@
Approved by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	0.9.11
@


1.6
log
@- Update to 0.9.10

PR:		ports/102841
Submitted by:	Frank Behrens <frank(at)pinky.sax.de> (maintainer))
@
text
@d9 1
a9 1
PORTVERSION=	0.9.10
@


1.5
log
@- Fix rc script

PR:		ports/91788
Submitted by:	Frank Behrens <frank@@pinky.sax.de> (maintainer)
@
text
@d9 1
a9 2
PORTVERSION=	0.9.9
PORTREVISION=	1
@


1.4
log
@Remove install-info from Makefile, it's automatically done when INFO is defined
@
text
@d10 1
a10 1
PORTREVISION=	0
@


1.3
log
@Update to 0.9.9

PR:		86552
Submitted by:	Frank Behrens <frank@@pinky.sax.de>
@
text
@a66 1
	install-info ${PREFIX}/info/polipo.info ${DESTDIR}${PREFIX}/info/dir
@


1.2
log
@Fixes for www/polipo
1. avoid error message "502 Range without partial content"
2. shutdown polipo on system shutdown

PR:		ports/84167
Submitted by:	Frank Behrens <frank@@pinky.sax.de> (maintainer)
@
text
@d9 2
a10 2
PORTVERSION=	0.9.8
PORTREVISION=	1
@


1.1
log
@Polipo is a small and fast caching web proxy (a web cache, an HTTP proxy)
designed to be used by one person or a small group of people.

PR:		ports/75554
Submitted by:	Frank Behrens <frank@@pinky.sax.de>
@
text
@d10 1
d20 1
a20 1
USE_RC_SUBR=	yes
a34 1
.if !defined(NOPORTDOCS)
a36 7
PLIST_FILES+=	share/polipo/www/index.html
.endif

# created on the fly due to variable substitution
PKGINSTALL=	${WRKDIR}/pkg-install
PKGDEINSTALL=	${WRKDIR}/pkg-deinstall
PKGMESSAGE=	${WRKDIR}/pkg-message
d38 1
a38 1
SUB_FILES=	pkg-message pkg-install pkg-deinstall 400.polipo polipo.sh
a57 1
	${INSTALL_SCRIPT} ${WRKDIR}/polipo.sh ${DESTDIR}${PREFIX}/etc/rc.d/
d78 1
a78 1
	${CAT} ${PKGMESSAGE}
@

