freebsd-ports/science/harminv/Makefile
Gerald Pfeifer 41e60477bd Replace USE_GCC=4.6+ and USE_GCC=4.4+ by USE_GCC=yes.
Right now this is a noop in the former case and a noop in the latter
case unless lang/gcc44 has been installed explicitly.

This puts a bit more emphasis on standardizing on a canonical version
"current" GCC and makes it easier to update that canonical version
by changing the default in Mk/bsd.gcc.mk and updating the lang/gcc port.

That is, USE_GCC=yes means "use a decent/modern version of GCC" without
having to worry about details.

Approved by:	portmgr (bdrewery)
2013-08-17 16:27:24 +00:00

37 lines
832 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= yes
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>