aboutsummaryrefslogtreecommitdiff
path: root/devel/cvsdadm/Makefile
blob: 9059cc8b0f4ecf94c005b54bd93a91e8cc14819e (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
35
36
37
38
39
40
41
42
# New ports collection makefile for:	cvsdadm
# Date Created:				Sat Jan 21 22:05:06 EST 2006
# Whom:					Serge Gagnon <serge.gagnon.1@ulaval.ca>
#
# $FreeBSD$
#

PORTNAME=	cvsdadm
PORTVERSION=	0.3.2
PORTREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	ftp://quenix2.dyndns.org/FreeBSD/ports/distfiles/ \
    		${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Tool for CVSd pserver user administration

WRKSRC=		${WRKDIR}/${PORTNAME}

NO_BUILD=	yes
USE_PERL5_RUN=	yes
POD2TEXT?=	pod2text
PORTDOCS=	cvsdadm.README

PLIST_FILES=	bin/cvsdadm

MAN1=	cvsdadm.1

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

do-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	@${POD2TEXT} ${WRKSRC}/cvsdadm > ${WRKSRC}/${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif
	${INSTALL_SCRIPT} ${WRKSRC}/cvsdadm ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/cvsdadm.1 ${PREFIX}/man/man1

.include <bsd.port.mk>