aboutsummaryrefslogtreecommitdiffstats
path: root/devel/fnccheck/Makefile
blob: 6898eaef965d6ae61f23d53f6b8dd122f08516d8 (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
# New ports collection makefile for:   fnccheck
# Date created:        22 January 2001
# Whom:                George Reid <greid@ukug.uk.freebsd.org>
#
# $FreeBSD$
#

PORTNAME=   fnccheck
PORTVERSION=    1.2
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A profiling library/utilities for C/C++ programs

INSTALLS_SHLIB= yes

WRKSRC=     ${WRKDIR}/${PORTNAME}-devel-${PORTVERSION}

DOCS=       README.txt README1ST.txt CHANGES.txt \
        doc/fncdump.info doc/html/fncdump_toc.html \
        doc/html/fncdump.html

do-install:
.for B in fncdump fncaverage
    ${INSTALL_PROGRAM} ${WRKSRC}/bin/$B ${PREFIX}/bin
.endfor
    ${INSTALL_PROGRAM} ${WRKSRC}/lib/libfnccheck.so ${PREFIX}/lib
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
.for D in ${DOCS}
    ${INSTALL_DATA} ${WRKSRC}/$D ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>