opnsense-ports/math/p5-Math-MPC/Makefile
Franco Fichtner f9c9f1ac9d */*: sync with upstream
Taken from: FreeBSD
2022-04-28 12:55:19 +02:00

28 lines
662 B
Makefile

# Created by: Wen Heping <wenheping@gmail.com>
PORTNAME= Math-MPC
PORTVERSION= 1.16
CATEGORIES= math perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl interface to MPC Library
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
BUILD_DEPENDS= ${RUN_DEPENDS}
LIB_DEPENDS= libgmp.so:math/gmp \
libmpc.so:math/mpc \
libmpfr.so:math/mpfr
RUN_DEPENDS= p5-Math-MPFR>=3.23:math/p5-Math-MPFR
USES= localbase perl5
USE_PERL5= configure
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/MPC/Constant/Constant.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/MPC/MPC.so
.include <bsd.port.mk>