freebsd-ports/math/qrupdate/Makefile
Jase Thew 84074a667d - Update to 1.1.2 [1]
- Convert to new format Makefile header

Changes:	http://qrupdate.svn.sourceforge.net/viewvc/qrupdate/ChangeLog?revision=28

PR:		ports/172159 [1]
Submitted by:	Robert Jenssen <robertjenssen@ozemail.com.au> (maintainer)
Approved by:	flo, culot (mentors, implicit)
2012-10-02 22:11:12 +00:00

35 lines
761 B
Makefile

# Created by: Robert Jenssen
# $FreeBSD$
PORTNAME= qrupdate
PORTVERSION= 1.1.2
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= qrupdate/qrupdate/1.2
MAINTAINER= robertjenssen@ozemail.com.au
COMMENT= Fortran library for fast updates of QR and Cholesky decomposition
LIB_DEPENDS= blas.2:${PORTSDIR}/math/blas lapack.4:${PORTSDIR}/math/lapack
FETCH_ARGS= -p
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
PICFLAG?= -fPIC
BROKEN= Does not compile on sparc64: assertions fail
.else
PICFLAG?= -fpic
.endif
USE_FORTRAN= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
pre-build:
@${REINPLACE_CMD} -e 's+%%FC%%+${FC}+g ; s+%%FFLAGS%%+${FFLAGS}+g ; \
s+%%PICFLAG%%+${PICFLAG}+g ; ' \
${WRKSRC}/Makeconf
.include <bsd.port.post.mk>