diff options
author | will <will@FreeBSD.org> | 2000-09-18 06:36:32 +0800 |
---|---|---|
committer | will <will@FreeBSD.org> | 2000-09-18 06:36:32 +0800 |
commit | 5e219fd889a9ce0b17fc884a1755116312c110fc (patch) | |
tree | 0e2fcc6b563c6a6c6c057c989ea215254a1ced7c /www/oops/Makefile | |
parent | d1dfc3f3ce39ff4909681cf75b234a65079a0fd3 (diff) | |
download | freebsd-ports-gnome-5e219fd889a9ce0b17fc884a1755116312c110fc.tar.gz freebsd-ports-gnome-5e219fd889a9ce0b17fc884a1755116312c110fc.tar.zst freebsd-ports-gnome-5e219fd889a9ce0b17fc884a1755116312c110fc.zip |
Add oops 1.4.16, a www proxy server similar to squid but easier to configure,
threadsafe (can use more than one CPU), and faster (uses large files rather
than many files).
PR: 21318
Submitted by: Sergey Oskin <oZZ@FreeBSD.org.ru>
Diffstat (limited to 'www/oops/Makefile')
-rw-r--r-- | www/oops/Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/www/oops/Makefile b/www/oops/Makefile new file mode 100644 index 000000000000..9112af75ddb8 --- /dev/null +++ b/www/oops/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: oops +# Date created: 15 August 2000 +# Whom: Sergey Osokin aka oZZ <ozz@FreeBSD.org.ru> +# +# $FreeBSD$ +# + +PORTNAME= oops +PORTVERSION= 1.4.16 +CATEGORIES= www +MASTER_SITES= http://zipper.paco.net/~igor/oops/ + +MAINTAINER= ozz@FreeBSD.org.ru + +LIB_DEPENDS= db2.0:${PORTSDIR}/databases/db + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --sbindir=${PREFIX}/sbin \ + --sysconfdir=${PREFIX}/etc/oops \ + --localstatedir=/var/run \ + --libdir=${PREFIX}/libexec/oops \ + --enable-oops-user=oops + +pre-install: + @PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/INSTALL ${PKGNAME} PRE-INSTALL + +.include <bsd.port.pre.mk> + +post-install: + @PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL + @ ${ECHO} "------------------------------------------------------------" + @ ${ECHO} "Sample of configuration file placed at ${PREFIX}/etc/oops !" + @ ${ECHO} "Copy oops.cfg.sample to oops.cfg, then run server..." + @ ${ECHO} "------------------------------------------------------------" + + @if [ ! -f ${PREFIX}/etc/rc.d/oops.sh ]; then \ + ${ECHO} "Installing ${PREFIX}/etc/rc.d/oops.sh startup file."; \ + ${INSTALL_SCRIPT} -m 751 ${FILESDIR}/oops.sh ${PREFIX}/etc/rc.d/oops.sh; \ + fi + +.include <bsd.port.post.mk> |