1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/science/harminv/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

38 lines
833 B
Makefile

# New ports collection makefile for: science/harminv
# Date created: 26 Dec 2009
# Whom: Stas Timokhin <devel@stasyan.com>
#
# $FreeBSD$
#
PORTNAME= harminv
PORTVERSION= 1.3.1
PORTREVISION= 1
CATEGORIES= science
MASTER_SITES= http://ab-initio.mit.edu/harminv/
MAINTAINER= devel@stasyan.com
COMMENT= Solver of harmonic inversion
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_FORTRAN= yes
USE_GCC= 4.4+
CPPFLAGS+= -I${LOCALBASE}/include
LD_LIBRARY_PATH= -L${LOCALBASE}/lib -L/usr/lib
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV+= LD_LIBRARY_PATH="${LD_LIBRARY_PATH}"
USE_LDCONFIG= yes
MAN1= harminv.1
LIB_DEPENDS+= guile.21:${PORTSDIR}/lang/guile \
blas.2:${PORTSDIR}/math/blas \
lapack.4:${PORTSDIR}/math/lapack
post-patch:
${REINPLACE_CMD} -e 's#%%PKGDIR%%#${PREFIX}/libdata#g' \
${WRKSRC}/Makefile.in
.include <bsd.port.mk>