1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/math/dcdflib/Makefile
Ion-Mihai Tetcu 6dd0f82ce7 - use DOCSDIR
- fix plist for -DNOPORTDOCS
- bump PORTREVISION

Approved by:	maintainer timeout on QAT BotMail
Prompted by:	QAT QA run
2008-11-18 17:09:37 +00:00

35 lines
808 B
Makefile

# 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
PORTREVISION= 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
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:S/.c//}
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>