aboutsummaryrefslogtreecommitdiffstats
path: root/math/tomsfastmath/Makefile
blob: a0472c7d468a603db52ea0886d53689b3e76f7f9 (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
# $FreeBSD$

PORTNAME=   tomsfastmath
PORTVERSION=    0.12
CATEGORIES= math
MASTER_SITES=   http://libtom.org/files/
MASTER_SITE_SUBDIR= miwi
DISTNAME=   tfm-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Portable fixed precision math library for fast exponentiations

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

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

.include <bsd.port.pre.mk>

.if ${ARCH} == "ia64" || ${ARCH} == "sparc64"
BROKEN=     Does not compile on ia64 or sparc64
.elif ${ARCH} == "powerpc"
BROKEN=     Causes gcc coredump on powerpc
.endif

.include <bsd.port.post.mk>