summaryrefslogtreecommitdiff
path: root/devel/cvspadm/Makefile
blob: 9ea4c1d0a7598394a50e06bee6200be3655b2f4c (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
# 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

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>