summaryrefslogtreecommitdiffstats
path: root/devel/fnccheck/Makefile
blob: 3dbd59601514a345d17a8fa6ebdf5d6bd54862b1 (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
33
34
35
36
37
38
# 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}
DISTNAME=		${PORTNAME}_${PORTVERSION}

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} ${PREFIX}/share/doc/fnccheck
.for D in ${DOCS}
	${INSTALL_DATA} ${WRKSRC}/$D ${PREFIX}/share/doc/fnccheck
.endfor
.endif

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