fa746f7b6f
PR: 20757 Submitted by: maintainer
32 lines
708 B
Makefile
32 lines
708 B
Makefile
# New ports collection makefile for: ntl
|
|
# Date created: 18 June 2000
|
|
# Whom: bauerm
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ntl
|
|
PORTVERSION= 4.2a
|
|
CATEGORIES= math
|
|
MASTER_SITES= http://www.shoup.net/ntl/
|
|
|
|
MAINTAINER= matthiasb@acm.org
|
|
|
|
USE_GMAKE= yes
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
MAKEFILE= makefile
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ARGS= 'GMP=on'
|
|
MAKE_ARGS= "DOCDIR=${LOCALBASE}/share/doc"
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/include/NTL
|
|
${INSTALL_DATA} ${WRKSRC}/../include/NTL/* ${PREFIX}/include/NTL/.
|
|
${INSTALL_DATA} ${WRKSRC}/ntl.a ${PREFIX}/lib/libntl.a
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/share/doc/NTL
|
|
${INSTALL_DATA} ${WRKSRC}/../doc/* ${PREFIX}/share/doc/NTL/.
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|