ports/math/unuran/Makefile
Tijl Coosemans 624b8729fc Mk/bsd.commands.mk: Use absolute path to define GMAKE
Same as BSDMAKE variable.  It is needed by some ports.

Some ports needed fixes:
- devel/rcs57: Regenerate configure with newer autoconf so it can deal
  with MAKE set to an absolute path.  While here fix issues with
  (un)escaping double quotes.  The warnings about this were in
  WRKSRC/src/conf.err.
- lang/gnu-cobol: Patch configure.ac so the MAKE environment variable
  can contain an absolute path, and define MAKE before it is used in
  AM_INIT_AUTOMAKE.  Remove post-patch patching of configure.  It appears
  to have been fixed upstream.
- math/unuran: Remove post-patch, fixed upstream.
- net-mgmt/kismet: Fix post-patch.

PR:		283534
Exp-run by:	antoine
2024-12-29 12:34:56 +01:00

43 lines
1,012 B
Makefile

PORTNAME= unuran
PORTVERSION= 1.11.0
CATEGORIES= math
MASTER_SITES= http://statmath.wu-wien.ac.at/unuran/
MAINTAINER= wen@FreeBSD.org
COMMENT= Universal Non-Uniform RANdom number generators
WWW= http://statmath.wu-wien.ac.at/unuran/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= librngstreams.so:math/rngstreams
USES= gmake libtool localbase:ldflags
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared --with-urng-rngstream --with-urng-default=rngstream \
--enable-info
USE_LDCONFIG= yes
INFO= unuran
PORTDOCS= unuran.pdf unuran.txt
OPTIONS_DEFINE= DOCS
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for DD in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/doc/${DD} ${STAGEDIR}${DOCSDIR}
.endfor
.ifdef(MAINTAINER_MODE)
CONFIGURE_ARGS+= --enable-check-struct --enable-logging
do-test:
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} check)
fullcheck: build
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} fullcheck)
.endif
.include <bsd.port.mk>