aboutsummaryrefslogtreecommitdiffstats
path: root/math/adept/Makefile
blob: 977b25945929c53338cbd9db00073f837eb1dd1e (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
34
# $FreeBSD$

PORTNAME=   adept
DISTVERSION=    2.0.5
PORTREVISION=   2
CATEGORIES= math
MASTER_SITES=   http://www.met.reading.ac.uk/clouds/adept/

MAINTAINER= yuri@FreeBSD.org
COMMENT=    Combined array and automatic differentiation library in C++

LICENSE=    APACHE20
LICENSE_FILE=   ${WRKSRC}/COPYING

USES=       autoreconf gmake fortran blaslapack:openblas libtool
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-static
USE_LDCONFIG=   yes
INSTALL_TARGET= install-strip

OPTIONS_DEFINE= PDFTEXDOCS
PDFTEXDOCS_DESC=    Build and install PDF documentation from LaTeX sources
OPTIONS_SUB=    yes

PDFTEXDOCS_USE= TEX=pdftex:build,dvipsk:build

post-build-PDFTEXDOCS-on:
    @cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${MAKE_CMD}

post-install-PDFTEXDOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>