2014-12-29 02:41:09 +01:00
|
|
|
# $NetBSD: Makefile,v 1.20 2014/12/29 01:41:09 obache Exp $
|
2003-04-30 02:03:34 +02:00
|
|
|
|
2005-09-05 16:06:59 +02:00
|
|
|
DISTNAME= blitz-0.8
|
|
|
|
PKGNAME= blitz++-0.8
|
2014-12-25 07:27:57 +01:00
|
|
|
PKGREVISION= 3
|
2005-09-05 16:06:59 +02:00
|
|
|
CATEGORIES= math devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=blitz/}
|
2003-04-30 02:03:34 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2005-09-05 16:06:59 +02:00
|
|
|
HOMEPAGE= http://www.oonumerics.org/blitz/
|
|
|
|
COMMENT= C++ template class library providing array objects
|
2003-04-30 02:03:34 +02:00
|
|
|
|
2010-07-30 12:36:22 +02:00
|
|
|
USE_LANGUAGES= c c++ fortran77
|
2005-09-05 16:06:59 +02:00
|
|
|
USE_LIBTOOL= yes
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2005-09-05 16:06:59 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2006-06-06 15:37:07 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-doxygen
|
2013-04-06 22:27:16 +02:00
|
|
|
INFO_FILES= yes
|
2003-04-30 02:03:34 +02:00
|
|
|
|
2014-12-25 07:27:57 +01:00
|
|
|
.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
|
2014-12-29 02:41:09 +01:00
|
|
|
.if defined(COMPILER_SPECIFIC_HEADER)
|
2014-12-25 07:27:57 +01:00
|
|
|
CONFIGURE_ENV+=COMPILER_SPECIFIC_HEADER=${COMPILER_SPECIFIC_HEADER}/bzconfig.h
|
|
|
|
.endif
|
2014-12-29 02:41:09 +01:00
|
|
|
PLIST_SUBST+=COMPILER_SPECIFIC_HEADER=${COMPILER_SPECIFIC_HEADER:Dinclude/blitz/${COMPILER_SPECIFIC_HEADER}/bzconfig.h:U@comment}
|
2014-12-25 07:27:57 +01:00
|
|
|
|
2003-04-30 02:03:34 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|