aboutsummaryrefslogtreecommitdiffstats
path: root/devel/lcov/Makefile
blob: 1fc860ff7ea86fbba82b68f106d753fe31b4e7f3 (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
# Created by: Romain Tartiere <romain@FreeBSD.org>
# $FreeBSD$

PORTNAME=   lcov
PORTVERSION=    1.12
CATEGORIES= devel
MASTER_SITES=   SF/ltp/Coverage%20Analysis/LCOV-${PORTVERSION}

MAINTAINER= romain@FreeBSD.org
COMMENT=    Linux Test Project GCOV extension

LICENSE=    GPLv1

RUN_DEPENDS=    bash:shells/bash

NO_BUILD=   yes
USES=       perl5 shebangfix
USE_PERL5=  run
SHEBANG_FILES=  bin/lcov bin/gendesc bin/genhtml bin/genpng bin/geninfo

PLIST_FILES=    bin/lcov bin/gendesc bin/genhtml bin/genpng bin/geninfo \
        man/man1/gendesc.1.gz man/man1/genhtml.1.gz \
        man/man1/geninfo.1.gz man/man1/genpng.1.gz \
        man/man1/lcov.1.gz man/man5/lcovrc.5.gz

do-install:
    cd ${WRKSRC}/bin && ${COPYTREE_BIN} "gendesc genhtml geninfo genpng lcov" ${STAGEDIR}${PREFIX}/bin
    cd ${WRKSRC}/man && ${INSTALL_MAN} *.1 ${STAGEDIR}${MANPREFIX}/man/man1
    cd ${WRKSRC}/man && ${INSTALL_MAN} *.5 ${STAGEDIR}${MANPREFIX}/man/man5

.include <bsd.port.mk>