summaryrefslogtreecommitdiff
path: root/devel/cvspadm/Makefile
blob: 003b842198c42d8f7b0f49bb0831e938490e72c0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:	cvspadm
# Date Created:				17 June 2001
# Whom:					Pete Fritchman <petef@databits.net>
#
# $FreeBSD$
#

PORTNAME=	cvspadm
PORTVERSION=	0.1.2
CATEGORIES=	devel
MASTER_SITES=	http://www.securityfoo.net/ray/projs/

MAINTAINER=	petef@FreeBSD.org
COMMENT=	Tool for CVS pserver user administration

WRKSRC=		${WRKDIR}/${PORTNAME}

NO_BUILD=	yes
USE_PERL5=	yes
POD2TEXT?=	pod2text

post-patch:
	@${PERL} -pi -e "s,#!/usr/bin/perl,#!${PERL}," ${WRKSRC}/cvspadm

do-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	@${POD2TEXT} ${WRKSRC}/cvspadm > ${WRKSRC}/cvspadm.README
	${INSTALL_DATA} ${WRKSRC}/cvspadm.README \
		${DOCSDIR}
.endif
	${INSTALL_SCRIPT} ${WRKSRC}/cvspadm ${PREFIX}/bin

.include <bsd.port.mk>