1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/www/wcol/Makefile
Steve Price 6212c76b8a Initial import of wcol version 980713_100245.
A prefetching proxy server for WWW.

PR:		7540
Submitted by:	Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
1998-08-24 02:11:20 +00:00

46 lines
1.1 KiB
Makefile

# New ports collection makefile for: wcolEpre
# Version required: 980713_100245
# Date created: 17 July 1998
# Whom: Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
#
# $Id$
#
DISTNAME= wcolEpre.980713_100245
PKGNAME= wcolEpre-1998.07.13
CATEGORIES= www
MASTER_SITES= http://shika.aist-nara.ac.jp/products/DEST/Wcol/
MAINTAINER= shige@kuis.kyoto-u.ac.jp
WRKSRC= ${WRKDIR}/${DISTNAME}/src
GNU_CONFIGURE= yes
STARTUP_SCRIPT=${PREFIX}/etc/rc.d/wcol.sh.sample
# wcol pooldir
DEFAULT_POOLDIR?=/var/spool/wcol
MAKE_ENV+=DEFAULT_POOLDIR=${DEFAULT_POOLDIR}
pre-patch:
@rm -f ${WRKSRC}/../admin/killwcol.in
@mv -f ${WRKSRC}/../admin/killwcol ${WRKSRC}/../admin/killwcol.in
post-install:
@if [ ! -d ${DEFAULT_POOLDIR} ]; then \
${ECHO} "Making wcol pool directory." ; \
${MKDIR} ${DEFAULT_POOLDIR} ; \
fi
${TOUCH} /var/log/wcol.log
@${ECHO} "Installing sample configuration file."
@${INSTALL_DATA} ${WRKSRC}/wcol.conf-dist ${PREFIX}/etc/wcol.conf.sample
@if [ ! -f ${STARTUP_SCRIPT} ]; then \
${ECHO} "Installing ${STARTUP_SCRIPT} startup file." ; \
${INSTALL_SCRIPT} ${FILESDIR}/wcol.sh.sample ${STARTUP_SCRIPT} ; \
fi
.include <bsd.port.mk>