aboutsummaryrefslogtreecommitdiffstats
path: root/math/tomsfastmath/Makefile
blob: aeb840f2e77f74af3d76b655fa6d87838647bbb5 (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
31
32
33
34
35
# Ports collection makefile for:  tomsfastmath
# Date created:           05 Aug 2005
# Whom:               Wesley Shields <wxs@csh.rit.edu>
#
# $FreeBSD$
#

PORTNAME=   tomsfastmath
PORTVERSION=    0.08
CATEGORIES= math
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= cperciva/libtom
DISTNAME=   tfm-${PORTVERSION}

MAINTAINER= wxs@csh.rit.edu
COMMENT=    Portable fixed precision math library for fast exponentiations

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAKEFILE=   makefile
USE_BZIP2=  yes
USE_GMAKE=  yes
ALL_TARGET= default

PLIST_FILES=    include/tfm.h lib/libtfm.a

.include <bsd.port.pre.mk>

.if ${ARCH} == "sparc64"
BROKEN=     Does not build on sparc64
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|
||' ${WRKSRC}/fp_montgomery_reduce.c

.include <bsd.port.post.mk>