aboutsummaryrefslogtreecommitdiffstats
path: root/math/dcdflib/Makefile
blob: 47a5d518a49434141c16c7ed8cd990ddbd34a95e (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
# New ports collection makefile for:    dcdflib
# Date created:     08 September 1998
# Whom:         Anton Berezin <tobez@plab.ku.dk>
#
# $FreeBSD$
#

PORTNAME=   dcdflib.c
PORTVERSION=    1.1
CATEGORIES= math
MASTER_SITES=   ftp://odin.mda.uth.tmc.edu/pub/source/

MAINTAINER= tobez@FreeBSD.org
COMMENT=    Library of C Routines for Cumulative Distribution Functions

WRKSRC=     ${WRKDIR}/dcdflib.c/src

USE_LDCONFIG=   yes

post-extract:
    @${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/share/doc/dcdflib
    @${INSTALL_DATA} ${WRKSRC}/../doc/dcdflib.chs ${PREFIX}/share/doc/dcdflib
    @${INSTALL_DATA} ${WRKSRC}/../doc/dcdflib.fdoc ${PREFIX}/share/doc/dcdflib
    @${INSTALL_DATA} ${WRKSRC}/../README ${PREFIX}/share/doc/dcdflib
.endif

.include <bsd.port.mk>