1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/net/cvsup-mirror/Makefile
Edwin Groothuis e0374a6fc2 [PATCH] net/cvsup-mirror: add some install time options for update.sh
Add following install time options for update.sh

	- Whether or not /var/log/cvsup.log is rotated when update.sh
	  is invoked.
	- Maximum number of log files.
	- Wheter or not old log file is gzipped after rotated.

PR:		ports/81598
Submitted by:	KIMURA Yasuhiro <yasu@utahime.org>
Not objected by:	jdp@FreeBSD.org
2006-01-02 10:05:11 +00:00

47 lines
1.1 KiB
Makefile

# New ports collection makefile for: cvsup-mirror
# Date created: 01 February 1997
# Whom: jdp
#
# $FreeBSD$
#
PORTNAME= cvsup-mirror
PORTVERSION= 1.3
PORTREVISION= 5
CATEGORIES= net
DISTFILES=
MAINTAINER= jdp@FreeBSD.org
COMMENT= A kit for easily setting up a FreeBSD mirror site using CVSup
RUN_DEPENDS= ${LOCALBASE}/sbin/cvsupd:${PORTSDIR}/net/cvsup-without-gui
NO_WRKSUBDIR= true
NO_BUILD= true
IS_INTERACTIVE= true
NO_PACKAGE= too interactive
SCRIPTS_ENV= USA_RESIDENT=${USA_RESIDENT}
USE_RC_SUBR= cvsupd.sh
base=${PREFIX}/etc/cvsup
distrib=${base}/sup.client/distrib
do-extract:
@test -d ${WRKSRC} || ${MKDIR} ${WRKSRC}
do-install:
@${ECHO_MSG} "Installing files"
@test -d ${distrib} || ${MKDIR} ${distrib}
@${INSTALL_DATA} ${WRKSRC}/config.sh ${base}
@${INSTALL_DATA} ${WRKSRC}/cvsupd.access ${base}
@${INSTALL_SCRIPT} ${FILESDIR}/update.sh ${base}
@${INSTALL_DATA} ${FILESDIR}/supfile ${base}
@${INSTALL_DATA} ${FILESDIR}/refuse.self ${distrib}
@${CP} /dev/null ${base}/.start_server
post-install:
@PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>