1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/net/cvsup-mirror/Makefile
Wesley Shields cd30e40d02 RC script now supports _flags variable. Comments available in the RC
script.

PR:		ports/108847
Submitted by:	Dan Langille <dan@langille.org>
Approved by:	garga (mentor)
2008-03-13 21:31:02 +00:00

51 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= 7
CATEGORIES= net
DISTFILES=
MAINTAINER= wxs@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
USE_RC_SUBR= cvsupd.sh
SUB_FILES= update.sh
base=${PREFIX}/etc/cvsup
distrib=${base}/sup.client/distrib
.include <bsd.port.pre.mk>
SUB_LIST+= CVSUPD="cvsupd${RC_SUBR_SUFFIX}"
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} ${WRKSRC}/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.post.mk>