1997-02-02 04:11:35 +00:00
|
|
|
# New ports collection makefile for: cvsup-mirror
|
|
|
|
# Version required: none
|
|
|
|
# Date created: 01 February 1997
|
|
|
|
# Whom: jdp
|
|
|
|
#
|
1999-08-22 23:33:47 +00:00
|
|
|
# $Id: Makefile,v 1.4 1998/06/27 05:19:58 asami Exp $
|
1997-02-02 04:11:35 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= cvsup-mirror-1.0
|
|
|
|
CATEGORIES= net
|
|
|
|
DISTFILES=
|
|
|
|
|
|
|
|
MAINTAINER= jdp@FreeBSD.org
|
|
|
|
|
|
|
|
RUN_DEPENDS= ${PREFIX}/sbin/cvsupd:${PORTSDIR}/net/cvsup
|
1997-02-06 06:50:40 +00:00
|
|
|
|
1997-02-02 04:11:35 +00:00
|
|
|
NO_WRKSUBDIR= true
|
|
|
|
NO_CHECKSUM= true
|
|
|
|
NO_BUILD= true
|
|
|
|
IS_INTERACTIVE= true
|
|
|
|
NO_PACKAGE= too interactive
|
|
|
|
SCRIPTS_ENV= USA_RESIDENT=${USA_RESIDENT}
|
|
|
|
|
|
|
|
base=${PREFIX}/etc/cvsup
|
|
|
|
rc=${PREFIX}/etc/rc.d
|
|
|
|
|
|
|
|
do-extract:
|
|
|
|
@test -d ${WRKSRC} || ${MKDIR} ${WRKSRC}
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@echo "Installing files"
|
1999-08-22 23:33:47 +00:00
|
|
|
@test -d ${base} || ${MKDIR} ${base}
|
|
|
|
@test -d ${rc} || ${MKDIR} ${rc}
|
1997-02-02 04:11:35 +00:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/config.sh ${base}
|
|
|
|
@${INSTALL_SCRIPT} ${FILESDIR}/update.sh ${base}
|
|
|
|
@${INSTALL_DATA} ${FILESDIR}/supfile ${base}
|
|
|
|
@${INSTALL_DATA} ${FILESDIR}/supfile.crypto ${base}
|
|
|
|
@${INSTALL_DATA} ${FILESDIR}/supfile.non-crypto ${base}
|
|
|
|
@${INSTALL_SCRIPT} ${FILESDIR}/cvsupd.sh ${rc}
|
|
|
|
@${CP} /dev/null ${base}/.start_server
|
|
|
|
|
|
|
|
post-install:
|
1997-07-13 18:49:31 +00:00
|
|
|
@PREFIX=${PREFIX} ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
|
1997-02-02 04:11:35 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|