@@ -, +, @@ --- math/gmp/Makefile | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) --- b/math/gmp/Makefile +++ b/math/gmp/Makefile @@ -1,57 +1,63 @@ # Created by: Ying-Chieh Liao PORTNAME= gmp PORTVERSION= 6.2.1 CATEGORIES= math devel MASTER_SITES= GNU MAINTAINER= ale@FreeBSD.org COMMENT= Free library for arbitrary precision arithmetic LICENSE= LGPL3 -USES= cpe libtool makeinfo tar:xz +USES= cpe libtool tar:xz CPE_VENDOR= gmplib -OPTIONS_DEFINE= CPU_OPTS +OPTIONS_DEFINE= CPU_OPTS INFO +OPTIONS_DEFAULT= INFO + CPU_OPTS_DESC= Enable assembly optimizations for your CPU HAS_CONFIGURE= yes CONFIGURE_ENV= MAKEINFO="${MAKEINFO} --no-split" CONFIGURE_ARGS= --prefix=${PREFIX} \ --infodir=${PREFIX}/${INFO_PATH} \ - --mandir=${PREFIX}/man \ + --mandir=${MANPREFIX}/man \ --enable-cxx USE_LDCONFIG= yes -INFO= gmp +INFO_INFO= gmp +INFO_USES= makeinfo INSTALL_TARGET= install-strip TEST_TARGET= check .include .if ${ARCH:Mmips*} MAKE_JOBS_UNSAFE=yes .endif .if ! ${PORT_OPTIONS:MCPU_OPTS} CONFIGURE_ARGS+=--build=${CONFIGURE_TARGET} .elif ${ARCH:S/64//} != ${ARCH} .if ${ARCH:Mpowerpc64*} CONFIGURE_ENV+= ABI="mode64" .elif ${ARCH:Mriscv64*} CONFIGURE_ENV+= ABI="standard" .else CONFIGURE_ENV+= ABI="64" .endif .else CONFIGURE_ENV+= ABI="32" .endif -post-extract: +post-extract-INFO-on: @${RM} ${WRKSRC}/doc/gmp.info* +post-install-INFO-off: + @${RM} ${STAGEDIR}${PREFIX}/${INFO_PATH}/*.info* + .include --