aboutsummaryrefslogtreecommitdiffstats
path: root/www/tinyproxy/Makefile
blob: 39f0f7d0f85e71aa2664af54f4f1028ba2642223 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# New ports collection makefile for:    tinyproxy
# Date created:     01 Jul 1999
# Whom:         Mitsuru Yoshida <mitsuru@riken.go.jp>
#
# $FreeBSD$
#

PORTNAME=   tinyproxy
PORTVERSION=    1.5.0
CATEGORIES= www
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= mitsuru@riken.go.jp
COMMENT=    A small, efficient HTTP proxy server

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
CONFIGURE_ARGS= --bindir=${PREFIX}/sbin --with-config=${PREFIX}/etc/tinyproxy/tinyproxy.conf --program-transform-name=""

MAN8=       tinyproxy.8

post-patch:
    @cd ${WRKSRC}/doc; f=tinyproxy.8; \
    ${MV} $$f $$f.orig; \
    ${SED} -e s:/etc/tinyproxy/tinyproxy.conf:${PREFIX}/etc/tinyproxy/tinyproxy.conf: \
    < $$f.orig > $$f

.include <bsd.port.mk>