summaryrefslogtreecommitdiffstats
path: root/devel/pmccabe/Makefile
blob: f808b9aa22496a5a1a192c8ffe2ff5312b770ee7 (plain)
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
# $FreeBSD$

PORTNAME=	pmccabe
PORTVERSION=	2.6
CATEGORIES=	devel
MASTER_SITES=	http://ftp.de.debian.org/debian/pool/main/p/pmccabe/ \
		http://dist.codelabs.ru/fbsd/pmccabe/
DISTNAME=	${PORTNAME}_${PORTVERSION}

MAINTAINER=	rea@FreeBSD.org
COMMENT=	Code complexity estimator

LICENSE=	GPLv2

WRKSRC=		${WRKDIR}/${PORTNAME}

BINARIES=	decomment pmccabe
SCRIPTS=	codechanges vifn
MANPAGE=	codechanges.1 decomment.1 pmccabe.1 vifn.1

do-install:
.for f in ${BINARIES}
	${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
.endfor
.for f in ${SCRIPTS}
	${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
.endfor
.for f in ${MANPAGE}
	${INSTALL_MAN} ${WRKSRC}/${f} ${STAGEDIR}${MANPREFIX}/man/man1
.endfor

.include <bsd.port.mk>
OpenPOWER on IntegriCloud