openbsd-ports/math/p5-Math-GMP/Makefile

24 lines
461 B
Makefile

# $OpenBSD: Makefile,v 1.16 2008/10/02 20:38:08 simon Exp $
SHARED_ONLY= Yes
COMMENT= high speed arbitrary-size integer math
MODULES= cpan
DISTNAME= Math-GMP-2.03
PKGNAME= p5-${DISTNAME}p1
CATEGORIES= math
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
LIB_DEPENDS= gmp.>=4::devel/gmp
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>