2003-07-21 10:28:03 -04:00
|
|
|
# New ports collection makefile for: ffproxy
|
|
|
|
# Date created: Jul 20 2003
|
|
|
|
# Whom: Kirill Ponomarew <ponomarew@oberon.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ffproxy
|
2003-08-02 10:11:47 -04:00
|
|
|
PORTVERSION= 1.4.1
|
2003-07-21 10:28:03 -04:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= http://faith.eu.org/${PORTNAME}/
|
|
|
|
|
2003-08-02 10:11:47 -04:00
|
|
|
MAINTAINER= krion@FreeBSD.org
|
2003-07-21 10:28:03 -04:00
|
|
|
COMMENT= Filtering HTTP proxy server
|
|
|
|
|
2003-08-02 10:11:47 -04:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
|
2003-07-21 10:28:03 -04:00
|
|
|
MAN8= ${PORTNAME}.8
|
|
|
|
|
2003-08-02 10:11:47 -04:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e \
|
|
|
|
's|/etc|${PREFIX}/etc|g ; \
|
|
|
|
s|/usr/local|${PREFIX}|g ; \
|
|
|
|
s|/var/ffproxy|${DOCSDIR}|g' \
|
|
|
|
${WRKSRC}/Makefile
|
|
|
|
${REINPLACE_CMD} -e \
|
|
|
|
's|/etc|${PREFIX}/etc|g' \
|
|
|
|
${WRKSRC}/${PORTNAME}.8
|
|
|
|
|
2003-07-21 10:28:03 -04:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 \
|
|
|
|
${PREFIX}/man/man8
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample.config \
|
|
|
|
${PREFIX}/etc/ffproxy.conf.sample
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${MKDIR} ${DOCSDIR}/db
|
|
|
|
${MKDIR} ${DOCSDIR}/html
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/html/* ${DOCSDIR}/html
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/db/* ${DOCSDIR}/db
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|