1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/math/dcdflib/Makefile
2014-07-23 17:30:45 +00:00

32 lines
742 B
Makefile

# Created by: Anton Berezin <tobez@plab.ku.dk>
# $FreeBSD$
PORTNAME= dcdflib.c
PORTVERSION= 1.1
PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= ftp://odin.mda.uth.tmc.edu/pub/source/
MAINTAINER= ports@FreeBSD.org
COMMENT= Library of C Routines for Cumulative Distribution Functions
WRKSRC= ${WRKDIR}/dcdflib.c/src
USE_LDCONFIG= yes
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:S/.c//}
NO_STAGE= 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 ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/../doc/dcdflib.fdoc ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/../README ${DOCSDIR}
.endif
.include <bsd.port.mk>