aboutsummaryrefslogtreecommitdiffstats
path: root/math/ntl/Makefile
blob: 4f5e35b4fd05c52ee2f1b059c23e4be0218be60b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# New ports collection makefile for:    ntl
# Date created:             18 June 2000
# Whom:                 bauerm
#
# $FreeBSD$
#

PORTNAME=   ntl
PORTVERSION=    5.0c
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
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>