aboutsummaryrefslogtreecommitdiffstats
path: root/devel/fnccheck/Makefile
blob: ddcecb50711c65371e64353269c2df7bcf156b22 (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
# 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=       http://www710.univ-lyon1.fr/~yperret/
DISTNAME=       ${PORTNAME}_${PORTVERSION}

MAINTAINER=     greid@ukug.uk.freebsd.org

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>