Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Feb 2002 14:20:09 +0100 (CET)
From:      Matthias <bauerm@faui1s.informatik.uni-erlangen.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/34556: Change for math/ntl port
Message-ID:  <200202021320.g12DK9e69592@faui1s.informatik.uni-erlangen.de>

next in thread | raw e-mail | index | archive | help

>Number:         34556
>Category:       ports
>Synopsis:       Change for math/ntl port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 02 05:30:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Matthias
>Release:        FreeBSD 4.5-RC i386
>Organization:
>Environment:
System: FreeBSD faui1s.informatik.uni-erlangen.de 4.5-RC FreeBSD 4.5-RC #0: Tue Jan 15 22:31:01 GMT 2002 root@faui1s.informatik.uni-erlangen.de:/usr/src/sys/compile/faui1s i386


>Description:
	Clearified dependency and added a flag to make ntl an ISO compliant lib.
	Thanks to Jeff Brown <jabrown@SDSC.EDU> for pointing this out.
>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	ntl
#	ntl/Makefile
#	ntl/distinfo
#	ntl/pkg-comment
#	ntl/pkg-descr
#	ntl/pkg-plist
#
echo c - ntl
mkdir -p ntl > /dev/null 2>&1
echo x - ntl/Makefile
sed 's/^X//' >ntl/Makefile << 'END-of-ntl/Makefile'
X# New ports collection makefile for:	ntl
X# Date created:				18 June 2000
X# Whom:					bauerm
X#
X# $FreeBSD: ports/math/ntl/Makefile,v 1.4 2001/09/03 03:33:45 mharo Exp $
X#
X
XPORTNAME=	ntl
XPORTVERSION=	5.2
XCATEGORIES=	math
XMASTER_SITES=	http://www.shoup.net/ntl/
X
XMAINTAINER=	matthiasb@acm.org
X
XLIB_DEPENDS=	gmp.4:${PORTSDIR}/math/libgmp3
X
XUSE_GMAKE=	yes
XWRKSRC=		${WRKDIR}/${DISTNAME}/src
XMAKEFILE=	makefile
XHAS_CONFIGURE=	yes
XCONFIGURE_ARGS=	"GMP_INCDIR=${LOCALBASE}/include" "GMP_LIBDIR=${LOCALBASE}/lib" "GMP_PREFIX=${LOCALBASE}" "NTL_GMP_LIP=on"
XMAKE_ARGS=	"DOCDIR=${LOCALBASE}/share/doc GMP_PREFIX=${LOCALBASE}"
X
XFLAVORS =	ISO_CXX
XFLAVOR?=
X# Build with 'env FLAVOR=ISO_CXX' if you want to use the "Standard C++"
X# version of NTL. In this version, all of NTL is "wrapped" inside
X# the namespace NTL, and are no longer directly accessible---you must
X# either use explicit qualification, or using directives, or
X# using declarations.
X
X.if ${FLAVOR:L} == "ISO_CXX"
X	CONFIGURE_ARGS+= "NTL_STD_CXX=on"
X.endif
X
Xdo-install:
X	${MKDIR} ${PREFIX}/include/NTL
X	${INSTALL_DATA} ${WRKSRC}/../include/NTL/*  ${PREFIX}/include/NTL/.
X	${INSTALL_DATA} ${WRKSRC}/ntl.a ${PREFIX}/lib/libntl.a
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${PREFIX}/share/doc/NTL
X	${INSTALL_DATA} ${WRKSRC}/../doc/* ${PREFIX}/share/doc/NTL/.
X.endif
X
X.include <bsd.port.mk>
END-of-ntl/Makefile
echo x - ntl/distinfo
sed 's/^X//' >ntl/distinfo << 'END-of-ntl/distinfo'
XMD5 (ntl-5.2.tar.gz) = 09e3679e9c84ea5f3934fcfcb29989fa
END-of-ntl/distinfo
echo x - ntl/pkg-comment
sed 's/^X//' >ntl/pkg-comment << 'END-of-ntl/pkg-comment'
XVictor Shoup's Number Theory Library
END-of-ntl/pkg-comment
echo x - ntl/pkg-descr
sed 's/^X//' >ntl/pkg-descr << 'END-of-ntl/pkg-descr'
XNTL is an object oriented library for number theory, written
Xby Victor Shoup.  It provides objects and methods for
X
X	- arbitrary length integers
X	- finite fields
X	- polynomials over fields
X	- extensions of fields.
X	- vectors and matrices over extensions
X	- finite rings
X
XWWW: http://www.shoup.net/
X
XMatthias Bauer
Xmatthiasb@acm.org
END-of-ntl/pkg-descr
echo x - ntl/pkg-plist
sed 's/^X//' >ntl/pkg-plist << 'END-of-ntl/pkg-plist'
Xinclude/NTL/FFT.h
Xinclude/NTL/FacVec.h
Xinclude/NTL/GF2.h
Xinclude/NTL/GF2E.h
Xinclude/NTL/GF2EX.h
Xinclude/NTL/GF2EXFactoring.h
Xinclude/NTL/GF2X.h
Xinclude/NTL/GF2XFactoring.h
Xinclude/NTL/GF2XVec.h
Xinclude/NTL/HNF.h
Xinclude/NTL/IsFinite.h
Xinclude/NTL/LLL.h
Xinclude/NTL/RR.h
Xinclude/NTL/WordVector.h
Xinclude/NTL/ZZ.h
Xinclude/NTL/ZZVec.h
Xinclude/NTL/ZZX.h
Xinclude/NTL/ZZXFactoring.h
Xinclude/NTL/ZZ_p.h
Xinclude/NTL/ZZ_pE.h
Xinclude/NTL/ZZ_pEX.h
Xinclude/NTL/ZZ_pEXFactoring.h
Xinclude/NTL/ZZ_pX.h
Xinclude/NTL/ZZ_pXFactoring.h
Xinclude/NTL/c_lip.h
Xinclude/NTL/config.h
Xinclude/NTL/def_config.h
Xinclude/NTL/fileio.h
Xinclude/NTL/g_lip.h
Xinclude/NTL/gmp_aux.h
Xinclude/NTL/lip.h
Xinclude/NTL/lzz_p.h
Xinclude/NTL/lzz_pE.h
Xinclude/NTL/lzz_pEX.h
Xinclude/NTL/lzz_pEXFactoring.h
Xinclude/NTL/lzz_pX.h
Xinclude/NTL/lzz_pXFactoring.h
Xinclude/NTL/mach_desc.h
Xinclude/NTL/mat_GF2.h
Xinclude/NTL/mat_GF2E.h
Xinclude/NTL/mat_RR.h
Xinclude/NTL/mat_ZZ.h
Xinclude/NTL/mat_ZZ_p.h
Xinclude/NTL/mat_ZZ_pE.h
Xinclude/NTL/mat_lzz_p.h
Xinclude/NTL/mat_lzz_pE.h
Xinclude/NTL/mat_poly_ZZ.h
Xinclude/NTL/mat_poly_ZZ_p.h
Xinclude/NTL/mat_poly_lzz_p.h
Xinclude/NTL/matrix.h
Xinclude/NTL/new.h
Xinclude/NTL/pair.h
Xinclude/NTL/pair_GF2EX_long.h
Xinclude/NTL/pair_GF2X_long.h
Xinclude/NTL/pair_ZZX_long.h
Xinclude/NTL/pair_ZZ_pEX_long.h
Xinclude/NTL/pair_ZZ_pX_long.h
Xinclude/NTL/pair_lzz_pEX_long.h
Xinclude/NTL/pair_lzz_pX_long.h
Xinclude/NTL/quad_float.h
Xinclude/NTL/tools.h
Xinclude/NTL/vec_GF2.h
Xinclude/NTL/vec_GF2E.h
Xinclude/NTL/vec_GF2XVec.h
Xinclude/NTL/vec_RR.h
Xinclude/NTL/vec_ZZ.h
Xinclude/NTL/vec_ZZVec.h
Xinclude/NTL/vec_ZZ_p.h
Xinclude/NTL/vec_ZZ_pE.h
Xinclude/NTL/vec_double.h
Xinclude/NTL/vec_long.h
Xinclude/NTL/vec_lzz_p.h
Xinclude/NTL/vec_lzz_pE.h
Xinclude/NTL/vec_quad_float.h
Xinclude/NTL/vec_ulong.h
Xinclude/NTL/vec_vec_GF2.h
Xinclude/NTL/vec_vec_GF2E.h
Xinclude/NTL/vec_vec_RR.h
Xinclude/NTL/vec_vec_ZZ.h
Xinclude/NTL/vec_vec_ZZ_p.h
Xinclude/NTL/vec_vec_ZZ_pE.h
Xinclude/NTL/vec_vec_long.h
Xinclude/NTL/vec_vec_lzz_p.h
Xinclude/NTL/vec_vec_lzz_pE.h
Xinclude/NTL/vec_vec_ulong.h
Xinclude/NTL/vec_xdouble.h
Xinclude/NTL/vector.h
Xinclude/NTL/version.h
Xinclude/NTL/xdouble.h
Xlib/libntl.a
X%%PORTDOCS%%share/doc/NTL/GF2.txt
X%%PORTDOCS%%share/doc/NTL/GF2E.txt
X%%PORTDOCS%%share/doc/NTL/GF2EX.txt
X%%PORTDOCS%%share/doc/NTL/GF2EXFactoring.txt
X%%PORTDOCS%%share/doc/NTL/GF2X.txt
X%%PORTDOCS%%share/doc/NTL/GF2XFactoring.txt
X%%PORTDOCS%%share/doc/NTL/GF2XVec.txt
X%%PORTDOCS%%share/doc/NTL/HNF.txt
X%%PORTDOCS%%share/doc/NTL/LLL.txt
X%%PORTDOCS%%share/doc/NTL/RR.txt
X%%PORTDOCS%%share/doc/NTL/ZZ.txt
X%%PORTDOCS%%share/doc/NTL/ZZVec.txt
X%%PORTDOCS%%share/doc/NTL/ZZX.txt
X%%PORTDOCS%%share/doc/NTL/ZZXFactoring.txt
X%%PORTDOCS%%share/doc/NTL/ZZ_p.txt
X%%PORTDOCS%%share/doc/NTL/ZZ_pE.txt
X%%PORTDOCS%%share/doc/NTL/ZZ_pEX.txt
X%%PORTDOCS%%share/doc/NTL/ZZ_pEXFactoring.txt
X%%PORTDOCS%%share/doc/NTL/ZZ_pX.txt
X%%PORTDOCS%%share/doc/NTL/ZZ_pXFactoring.txt
X%%PORTDOCS%%share/doc/NTL/arrow1.gif
X%%PORTDOCS%%share/doc/NTL/arrow2.gif
X%%PORTDOCS%%share/doc/NTL/arrow3.gif
X%%PORTDOCS%%share/doc/NTL/config.txt
X%%PORTDOCS%%share/doc/NTL/conversions.txt
X%%PORTDOCS%%share/doc/NTL/copying.txt
X%%PORTDOCS%%share/doc/NTL/flags.txt
X%%PORTDOCS%%share/doc/NTL/lzz_p.txt
X%%PORTDOCS%%share/doc/NTL/lzz_pE.txt
X%%PORTDOCS%%share/doc/NTL/lzz_pEX.txt
X%%PORTDOCS%%share/doc/NTL/lzz_pEXFactoring.txt
X%%PORTDOCS%%share/doc/NTL/lzz_pX.txt
X%%PORTDOCS%%share/doc/NTL/lzz_pXFactoring.txt
X%%PORTDOCS%%share/doc/NTL/mat_GF2.txt
X%%PORTDOCS%%share/doc/NTL/mat_GF2E.txt
X%%PORTDOCS%%share/doc/NTL/mat_RR.txt
X%%PORTDOCS%%share/doc/NTL/mat_ZZ.txt
X%%PORTDOCS%%share/doc/NTL/mat_ZZ_p.txt
X%%PORTDOCS%%share/doc/NTL/mat_ZZ_pE.txt
X%%PORTDOCS%%share/doc/NTL/mat_lzz_p.txt
X%%PORTDOCS%%share/doc/NTL/mat_lzz_pE.txt
X%%PORTDOCS%%share/doc/NTL/mat_poly_ZZ.txt
X%%PORTDOCS%%share/doc/NTL/mat_poly_ZZ_p.txt
X%%PORTDOCS%%share/doc/NTL/mat_poly_lzz_p.txt
X%%PORTDOCS%%share/doc/NTL/matrix.txt
X%%PORTDOCS%%share/doc/NTL/names.txt
X%%PORTDOCS%%share/doc/NTL/pair.txt
X%%PORTDOCS%%share/doc/NTL/quad_float.txt
X%%PORTDOCS%%share/doc/NTL/sedscript.txt
X%%PORTDOCS%%share/doc/NTL/tools.txt
X%%PORTDOCS%%share/doc/NTL/tour-ack.html
X%%PORTDOCS%%share/doc/NTL/tour-changes.html
X%%PORTDOCS%%share/doc/NTL/tour-ex1.html
X%%PORTDOCS%%share/doc/NTL/tour-ex2.html
X%%PORTDOCS%%share/doc/NTL/tour-ex3.html
X%%PORTDOCS%%share/doc/NTL/tour-ex4.html
X%%PORTDOCS%%share/doc/NTL/tour-ex5.html
X%%PORTDOCS%%share/doc/NTL/tour-ex6.html
X%%PORTDOCS%%share/doc/NTL/tour-examples.html
X%%PORTDOCS%%share/doc/NTL/tour-gmp.html
X%%PORTDOCS%%share/doc/NTL/tour-impl.html
X%%PORTDOCS%%share/doc/NTL/tour-intro.html
X%%PORTDOCS%%share/doc/NTL/tour-modules.html
X%%PORTDOCS%%share/doc/NTL/tour-roadmap.html
X%%PORTDOCS%%share/doc/NTL/tour-stdcxx.html
X%%PORTDOCS%%share/doc/NTL/tour-struct.html
X%%PORTDOCS%%share/doc/NTL/tour-time.html
X%%PORTDOCS%%share/doc/NTL/tour-unix.html
X%%PORTDOCS%%share/doc/NTL/tour-win.html
X%%PORTDOCS%%share/doc/NTL/tour.html
X%%PORTDOCS%%share/doc/NTL/vec_GF2.txt
X%%PORTDOCS%%share/doc/NTL/vec_GF2E.txt
X%%PORTDOCS%%share/doc/NTL/vec_RR.txt
X%%PORTDOCS%%share/doc/NTL/vec_ZZ.txt
X%%PORTDOCS%%share/doc/NTL/vec_ZZ_p.txt
X%%PORTDOCS%%share/doc/NTL/vec_ZZ_pE.txt
X%%PORTDOCS%%share/doc/NTL/vec_lzz_p.txt
X%%PORTDOCS%%share/doc/NTL/vec_lzz_pE.txt
X%%PORTDOCS%%share/doc/NTL/vector.txt
X%%PORTDOCS%%share/doc/NTL/version.txt
X%%PORTDOCS%%share/doc/NTL/xdouble.txt
X@dirrm include/NTL
X%%PORTDOCS%%@dirrm share/doc/NTL
END-of-ntl/pkg-plist
exit


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202021320.g12DK9e69592>