aboutsummaryrefslogtreecommitdiffstats
path: root/science/libxc/Makefile
blob: 3587abff5f3c63f4a10ff578f32ec1730322ebf9 (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
# Created by: Johannes Dieterich <dieterich@ogolem.org>
# $FreeBSD$

PORTNAME=   libxc
PORTVERSION=    3.0.0
PORTREVISION=   1
CATEGORIES= science
MASTER_SITES=   http://www.tddft.org/programs/octopus/download/libxc/

MAINTAINER= dieterich@ogolem.org
COMMENT=    Library of exchange-correlation functionals for DFT

LICENSE=    LGPL3+
LICENSE_FILE=   ${WRKSRC}/COPYING

USES=       fortran gmake libtool perl5
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --enable-shared
USE_LDCONFIG=   yes

INSTALL_TARGET= install-strip

post-patch:
    @${REINPLACE_CMD} -e '/^pkgconfigdir =/s,libdir),prefix)/libdata,' \
        ${WRKSRC}/build/Makefile.in

.include <bsd.port.mk>