blob: df1f8b487b404283bf918f7cff1bda7494d6896e (
plain) (
tree)
|
|
# 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>
|