1997-02-02 05:11:35 +01:00
|
|
|
# New ports collection makefile for: cvsup-mirror
|
|
|
|
# Date created: 01 February 1997
|
|
|
|
# Whom: jdp
|
|
|
|
#
|
1999-08-30 16:24:37 +02:00
|
|
|
# $FreeBSD$
|
1997-02-02 05:11:35 +01:00
|
|
|
#
|
|
|
|
|
2000-04-09 20:14:07 +02:00
|
|
|
PORTNAME= cvsup-mirror
|
2000-07-09 19:57:33 +02:00
|
|
|
PORTVERSION= 1.2
|
1997-02-02 05:11:35 +01:00
|
|
|
CATEGORIES= net
|
|
|
|
DISTFILES=
|
|
|
|
|
|
|
|
MAINTAINER= jdp@FreeBSD.org
|
|
|
|
|
2000-04-20 22:25:29 +02:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/cvsup:${PORTSDIR}/net/cvsup-bin \
|
|
|
|
${LOCALBASE}/sbin/cvsupd:${PORTSDIR}/net/cvsupd-bin
|
1997-02-06 07:50:40 +01:00
|
|
|
|
1997-02-02 05:11:35 +01:00
|
|
|
NO_WRKSUBDIR= true
|
|
|
|
NO_BUILD= true
|
|
|
|
IS_INTERACTIVE= true
|
|
|
|
NO_PACKAGE= too interactive
|
|
|
|
SCRIPTS_ENV= USA_RESIDENT=${USA_RESIDENT}
|
|
|
|
|
|
|
|
base=${PREFIX}/etc/cvsup
|
2000-01-14 05:39:57 +01:00
|
|
|
distrib=${base}/sup.client/distrib
|
1997-02-02 05:11:35 +01:00
|
|
|
rc=${PREFIX}/etc/rc.d
|
|
|
|
|
|
|
|
do-extract:
|
|
|
|
@test -d ${WRKSRC} || ${MKDIR} ${WRKSRC}
|
|
|
|
|
|
|
|
do-install:
|
1999-08-28 00:30:39 +02:00
|
|
|
@${ECHO_MSG} "Installing files"
|
2000-01-14 05:39:57 +01:00
|
|
|
@test -d ${distrib} || ${MKDIR} ${distrib}
|
1999-08-23 01:33:47 +02:00
|
|
|
@test -d ${rc} || ${MKDIR} ${rc}
|
1997-02-02 05:11:35 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/config.sh ${base}
|
2000-01-28 07:42:37 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/cvsupd.access ${base}
|
1997-02-02 05:11:35 +01:00
|
|
|
@${INSTALL_SCRIPT} ${FILESDIR}/update.sh ${base}
|
|
|
|
@${INSTALL_DATA} ${FILESDIR}/supfile ${base}
|
2000-01-14 05:39:57 +01:00
|
|
|
@${INSTALL_DATA} ${FILESDIR}/refuse.self ${distrib}
|
1997-02-02 05:11:35 +01:00
|
|
|
@${INSTALL_SCRIPT} ${FILESDIR}/cvsupd.sh ${rc}
|
|
|
|
@${CP} /dev/null ${base}/.start_server
|
|
|
|
|
|
|
|
post-install:
|
1997-07-13 20:49:31 +02:00
|
|
|
@PREFIX=${PREFIX} ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
|
1997-02-02 05:11:35 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|