1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/math/dcdflib/Makefile
Steve Price e4b2e8c27f Initial import of dcdflib version 1.1.
A library of C routines for cumulative distribution functions.

PR:		7865
Submitted by:	Anton Berezin <tobez@plab.ku.dk>
1998-12-24 07:04:38 +00:00

35 lines
908 B
Makefile

# New ports collection makefile for: dcdflib
# Version required: 1.1
# Date created: 08 September 1998
# Whom: Anton Berezin <tobez@plab.ku.dk>
#
# $Id$
#
DISTNAME= dcdflib.c-1.1
CATEGORIES= math
MASTER_SITES= ftp://odin.mda.uth.tmc.edu/pub/source/
MAINTAINER= tobez@plab.ku.dk
WRKSRC= ${WRKDIR}/dcdflib.c/src
.include <bsd.port.pre.mk>
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
.if ${PORTOBJFORMAT} == "aout"
@${LN} -sf libdcdflib.so.1.1 ${PREFIX}/lib/libdcdflib.so
.endif
@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.post.mk>