2001-06-15 04:59:48 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2001/06/15 08:59:48 reinhard Exp $
|
2001-05-05 21:58:40 -04:00
|
|
|
|
|
|
|
COMMENT= "Victor Shoup's Number Theory Library"
|
2001-01-08 11:15:35 -05:00
|
|
|
|
2001-06-15 04:59:48 -04:00
|
|
|
DISTNAME= ntl-5.1a
|
2001-01-08 11:15:35 -05:00
|
|
|
CATEGORIES= math
|
2001-05-05 21:58:40 -04:00
|
|
|
NEED_VERSION= 1.402
|
2001-01-08 11:15:35 -05:00
|
|
|
MASTER_SITES= http://www.shoup.net/ntl/
|
|
|
|
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.shoup.net/ntl/
|
|
|
|
|
|
|
|
MAINTAINER= Tom Knienieder <tom@knienieder.com>
|
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/${DISTNAME}/src
|
2001-02-09 09:41:36 -05:00
|
|
|
MAKE_FILE= makefile
|
2001-01-08 11:15:35 -05:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= simple
|
2001-03-16 08:45:44 -05:00
|
|
|
CONFIGURE_ARGS= CC=${CC} CXX=${CXX} CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
2001-01-08 11:15:35 -05:00
|
|
|
|
2001-02-16 03:56:16 -05:00
|
|
|
do-install:
|
|
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/include/NTL
|
|
|
|
@cd ${WRKDIST}/../include/NTL; ${INSTALL_DATA} *.h ${PREFIX}/include/NTL
|
|
|
|
@cd ${WRKDIST}; ${INSTALL_DATA} ntl.a ${PREFIX}/lib/libntl.a
|
|
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/NTL
|
|
|
|
@cd ${WRKDIST}/../doc; ${INSTALL_DATA} *.txt ${PREFIX}/share/doc/NTL
|
|
|
|
@cd ${WRKDIST}/../doc; ${INSTALL_DATA} *.html ${PREFIX}/share/doc/NTL
|
|
|
|
|
2001-01-08 11:15:35 -05:00
|
|
|
.include <bsd.port.mk>
|