aboutsummaryrefslogtreecommitdiffstats
path: root/science/harminv/Makefile
blob: 6054f81c3e6eda9ce24178e5cd4b76a73964381d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Created by: Stas Timokhin <devel@stasyan.com>
# $FreeBSD$

PORTNAME=   harminv
PORTVERSION=    1.3.1
PORTREVISION=   3
CATEGORIES= science
MASTER_SITES=   http://ab-initio.mit.edu/harminv/

MAINTAINER= devel@stasyan.com
COMMENT=    Solver of harmonic inversion

USES=       fortran gmake
GNU_CONFIGURE=  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

NO_STAGE=   yes
post-patch:
    ${REINPLACE_CMD} -e 's#%%PKGDIR%%#${PREFIX}/libdata#g' \
        ${WRKSRC}/Makefile.in

.include <bsd.port.mk>