mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
7acef1cd7a
spelled out (many of which are ${PKGDIR}/MESSAGE -> ${PKGMESSAGE} type fixes that shouldn't have been necessary) and the string "/pkg/" appear.
47 lines
1.1 KiB
Makefile
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.2
|
|
CATEGORIES= net
|
|
DISTFILES=
|
|
|
|
MAINTAINER= jdp@FreeBSD.org
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/cvsup:${PORTSDIR}/net/cvsup-bin \
|
|
${LOCALBASE}/sbin/cvsupd:${PORTSDIR}/net/cvsupd-bin
|
|
|
|
NO_WRKSUBDIR= true
|
|
NO_BUILD= true
|
|
IS_INTERACTIVE= true
|
|
NO_PACKAGE= too interactive
|
|
SCRIPTS_ENV= USA_RESIDENT=${USA_RESIDENT}
|
|
|
|
base=${PREFIX}/etc/cvsup
|
|
distrib=${base}/sup.client/distrib
|
|
rc=${PREFIX}/etc/rc.d
|
|
|
|
do-extract:
|
|
@test -d ${WRKSRC} || ${MKDIR} ${WRKSRC}
|
|
|
|
do-install:
|
|
@${ECHO_MSG} "Installing files"
|
|
@test -d ${distrib} || ${MKDIR} ${distrib}
|
|
@test -d ${rc} || ${MKDIR} ${rc}
|
|
@${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}
|
|
@${INSTALL_SCRIPT} ${FILESDIR}/cvsupd.sh ${rc}
|
|
@${CP} /dev/null ${base}/.start_server
|
|
|
|
post-install:
|
|
@PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
.include <bsd.port.mk>
|