1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/net/cvsupchk/Makefile
Pav Lucistnik 3221adb21b cvsupchk is a python script that checks a CVSup maintained directory hierarchy
against the corresponding CVSup checkouts file. It looks for a number of
anomalies: missing checked out files, deleted files being present, extra RCS
files, 'dead' directories being present and so on.

PR:		ports/88587
Submitted by:	Matthias Andree <matthias.andree@gmx.de>
2005-11-11 18:38:41 +00:00

40 lines
870 B
Makefile

# New ports collection makefile for: cvsupchk
# Date created: 07 Nov 2005
# Whom: matthias.andree@gmx.de
#
# $FreeBSD$
#
PORTNAME= cvsupchk
PORTVERSION= 19990209
CATEGORIES= net
DISTFILES=
MAINTAINER= matthias.andree@gmx.de
COMMENT= Check a CVSup directory hierarchy against the checkouts file
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/net/cvsup:extract
PLIST_FILES= bin/cvsupchk
PORTDOCS= *
USE_PYTHON= yes
.include <bsd.port.pre.mk>
src!= cd ${PORTSDIR}/net/cvsup && make -V WRKSRC
do-build:
${MKDIR} ${WRKSRC}
${SED} 's:^#!/usr/local/bin/python:#!${PYTHON_CMD}:' <${src}/contrib/cvsupchk/cvsupchk >${WRKSRC}/cvsupchk
do-install:
${MKDIR} ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/cvsupchk ${PREFIX}/bin/
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${src}/contrib/cvsupchk/README ${DOCSDIR}/
.endif
.include <bsd.port.post.mk>