diff options
author | Volker Stolz <vs@FreeBSD.org> | 2004-05-06 09:03:51 +0000 |
---|---|---|
committer | Volker Stolz <vs@FreeBSD.org> | 2004-05-06 09:03:51 +0000 |
commit | cba24636905306da017a81f48f711541c82f7997 (patch) | |
tree | 7f2003a1d14b00fa31441a58fc5bf49d2ed2bd5b /www/tinyproxy/Makefile | |
parent | 4cee64f7ff91fba76da5f101896f6804352f169f (diff) | |
download | ports-cba24636905306da017a81f48f711541c82f7997.tar.gz ports-cba24636905306da017a81f48f711541c82f7997.zip |
Notes
Diffstat (limited to 'www/tinyproxy/Makefile')
-rw-r--r-- | www/tinyproxy/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/www/tinyproxy/Makefile b/www/tinyproxy/Makefile index 268828a0961a..bd4c36bb21ea 100644 --- a/www/tinyproxy/Makefile +++ b/www/tinyproxy/Makefile @@ -11,7 +11,7 @@ CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} -MAINTAINER= mitsuru@riken.go.jp +MAINTAINER= so14k@so14k.com COMMENT= A small, efficient HTTP proxy server GNU_CONFIGURE= yes @@ -24,12 +24,15 @@ MAN8= tinyproxy.8 .include <bsd.port.pre.mk> 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 + ${REINPLACE_CMD} -e s:/etc/tinyproxy/tinyproxy.conf:${PREFIX}/etc/tinyproxy/tinyproxy.conf: \ + ${WRKSRC}/doc/tinyproxy.8 .if ${OSVERSION} < 500000 @${REINPLACE_CMD} -e 's|stdint.h|stdlib.h|' ${WRKSRC}/src/scanner.c .endif +post-install: + @${SED} -e "s#%PREFIX%#${PREFIX}#" ${FILESDIR}/tinyproxy.sh > ${WRKDIR}/tinyproxy.sh + @${INSTALL_SCRIPT} ${WRKDIR}/tinyproxy.sh ${LOCALBASE}/etc/rc.d + @${SED} -e "s#/usr/local/#${LOCALBASE}/#" ${PKGMESSAGE} + .include <bsd.port.post.mk> |