forked from Lainports/freebsd-ports
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
34 lines
728 B
Makefile
34 lines
728 B
Makefile
# Created by: Robert Jenssen
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= qrupdate
|
|
PORTVERSION= 1.1.2
|
|
PORTREVISION= 3
|
|
CATEGORIES= math
|
|
MASTER_SITES= SOURCEFORGE/qrupdate/qrupdate/1.2
|
|
|
|
MAINTAINER= robertjenssen@ozemail.com.au
|
|
COMMENT= Fortran library for fast updates of QR and Cholesky decomposition
|
|
|
|
LIB_DEPENDS= libblas.so:${PORTSDIR}/math/blas \
|
|
liblapack.so:${PORTSDIR}/math/lapack
|
|
|
|
USES= fortran gmake
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "sparc64"
|
|
PICFLAG?= -fPIC
|
|
BROKEN= Does not compile on sparc64: assertions fail
|
|
.else
|
|
PICFLAG?= -fpic
|
|
.endif
|
|
|
|
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>
|