blob: 12e394ef4c4f6fe822e4a3508f75edc99409093f (
plain)
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
36
37
38
39
40
|
# $NetBSD: Makefile,v 1.20 2014/12/29 01:41:09 obache Exp $
DISTNAME= blitz-0.8
PKGNAME= blitz++-0.8
PKGREVISION= 3
CATEGORIES= math devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=blitz/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.oonumerics.org/blitz/
COMMENT= C++ template class library providing array objects
USE_LANGUAGES= c c++ fortran77
USE_LIBTOOL= yes
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-doxygen
INFO_FILES= yes
.include "../../mk/compiler.mk"
.if !empty(CC_VERSION:MIntel*)
COMPILER_SPECIFIC_HEADER= intel
.elif !empty(CC_VERSION:MIBM*)
COMPILER_SPECIFIC_HEADER= ibm
.elif !empty(CC_VERSION:MCCC*)
COMPILER_SPECIFIC_HEADER= compaq
.elif !empty(CC_VERSION:Mhp*)
COMPILER_SPECIFIC_HEADER= hp
.elif !empty(CC_VERSION:MMIPSpro*)
COMPILER_SPECIFIC_HEADER= sgi
.elif !empty(CC_VERSION:Mgcc*)
COMPILER_SPECIFIC_HEADER= gnu
.endif
.if defined(COMPILER_SPECIFIC_HEADER)
CONFIGURE_ENV+=COMPILER_SPECIFIC_HEADER=${COMPILER_SPECIFIC_HEADER}/bzconfig.h
.endif
PLIST_SUBST+=COMPILER_SPECIFIC_HEADER=${COMPILER_SPECIFIC_HEADER:Dinclude/blitz/${COMPILER_SPECIFIC_HEADER}/bzconfig.h:U@comment}
.include "../../mk/bsd.pkg.mk"
|