1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/math/libranlip/Makefile
Mathieu Arnold 0438143249 Remove OSVERSION checks that do not make sense any more.
For example (${OSVERSION} >= 900000 && ${OSVERSION} < 900021) is always true,
as is (${OSVERSION} > 900002 || ${OSVERSION} < 900000 && ${OSVERSION} > 800107).

Regarding patches, when an EXTRA_PATCHES is no longer needed, I remove it, when
it is always needed, I renamed it, in one case, I merged two patches.

Differential Revision:	https://reviews.freebsd.org/D2209
2015-04-03 11:26:48 +00:00

42 lines
1.1 KiB
Makefile

# Created by: bf <bf@FreeBSD.org>
# $FreeBSD$
PORTNAME= libranlip
DISTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= LOCAL/bf \
http://www.deakin.edu.au/~gleb/
MAINTAINER= bf@FreeBSD.org
COMMENT= Random variate generator for Lipschitz-continuous densities
USES= libtool
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
INFO= ranlip
PLIST_FILES= include/ranlip.h include/ranlipdist.h include/ranlipproc.h lib/libranlip.so.1.0.0 \
lib/libranlip.so.1 lib/libranlip.so lib/libranlip.a
PORTDOCS= ranlip.ps
PORTEXAMPLES= makefile ranliptest.cpp ranliptestproc.cpp
TESTPROGS= static_example static_example2 static_example3 shared_example
OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/docs/ranlip.ps ${STAGEDIR}${DOCSDIR}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for _file in ${PORTEXAMPLES}
${INSTALL_DATA} ${WRKSRC}/examples/${_file} ${STAGEDIR}${EXAMPLESDIR}
.endfor
test: build
@(cd ${WRKSRC}/examples; ${SETENV} ${MAKE_ENV} ${MAKE} ${_MAKE_JOBS} ${MAKE_ARGS} all)
.for _prog in ${TESTPROGS}
@(cd ${WRKSRC}/examples && ./${_prog})
.endfor
.include <bsd.port.mk>