freebsd-ports/math/randlib/Makefile
Brooks Davis f2ab442843 Fix build with src r354909 applied.
The referenced change made NO_INSTALLLIB, NO_MAN, and NO_PROFILE into
errors causing these ports that declare them and use the FreeBSD make
infrastructure as part of their build to fail.

When the offending variables occur in a BSD Makefile, NO_MAN becomes
MAN= and NO_INSTALLLIB and NO_PROFILE become MK_INSTALLLIB=no and
MK_PROFILE=no respectively.  When declared in the environment they
become WITHOUT_<FOO>.
2019-11-25 23:25:52 +00:00

34 lines
821 B
Makefile

# Created by: Thomas Gellekum <tg@FreeBSD.org>
# $FreeBSD$
PORTNAME= randlib
PORTVERSION= 1.3
CATEGORIES= math
MASTER_SITES= https://biostatistics.mdanderson.org/SoftwareDownload/ProductDownloadFiles/ \
LOCAL/bf
DISTNAME= RANDLIB_V90
MAINTAINER= ports@FreeBSD.org
COMMENT= Library of Routines for Random Number Generation
USES= uidfix
USE_LDCONFIG= yes
MAKE_ENV= WITHOUT_PROFILE=true
WRKSRC= ${WRKDIR}/source/randlib.c/src
PORTDOCS= Basegen.c.doc randlib.c.chs randlib.c.fdoc
PLIST_FILES= include/randlib.h \
lib/librandlib.a \
lib/librandlib.so \
lib/librandlib.so.1
OPTIONS_DEFINE= DOCS
post-extract:
${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/source/randlib.c/doc/* ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>