openbsd-ports/math/ntl/Makefile
naddy dfe31ad4af Update to 5.3; from maintainer Tom Knienieder <tom@knienieder.com>.
Changes in this release:

Minimized and isolated constructs that do not adhere to C/C++
standards, and added flags NTL_CLEAN_INT and NTL_CLEAN_PTR
which force stricter compliance with these standards

Added functions IsWhiteSpace, CharToIntVal,
and IntValToChar to the tools module

Added methods allocated, position1 to generic vector classes

Added method allocated to the class vec_GF2

Added conversion routines from unsigned int/long to int, long, float,
and double

Added routines AddPrec, SubPrec, etc., to the RR
module, and declared the practice of directly  assigning to the variable
RR::prec obsolete

Fixed a number of minor bugs.
2002-07-17 23:33:20 +00:00

40 lines
1015 B
Makefile

# $OpenBSD: Makefile,v 1.8 2002/07/17 23:33:20 naddy Exp $
COMMENT= "Victor Shoup's Number Theory Library"
DISTNAME= ntl-5.3
CATEGORIES= math
HOMEPAGE= http://www.shoup.net/ntl/
MAINTAINER= Tom Knienieder <tom@knienieder.com>
# GPL
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
MASTER_SITES= ${HOMEPAGE}
LIB_DEPENDS= gmp.4::devel/gmp
WRKBUILD= ${WRKSRC}/src
MAKE_FILE= makefile
CONFIGURE_STYLE= simple
CONFIGURE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" \
CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \
NTL_GMP_LIP=on GMP_PREFIX="${LOCALBASE}"
REGRESS_TARGET= check
do-install:
@${INSTALL_DATA_DIR} ${PREFIX}/include/NTL
@cd ${WRKSRC}/include/NTL; ${INSTALL_DATA} *.h ${PREFIX}/include/NTL
@cd ${WRKBUILD}; ${INSTALL_DATA} ntl.a ${PREFIX}/lib/libntl.a
@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/NTL
@cd ${WRKSRC}/doc; ${INSTALL_DATA} *.txt ${PREFIX}/share/doc/NTL
@cd ${WRKSRC}/doc; ${INSTALL_DATA} *.html ${PREFIX}/share/doc/NTL
.include <bsd.port.mk>