blob: bb946fdc542acbcfb3849320f592586d6daae8bd (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
PORTNAME= form
PORTVERSION= 4.3.1
DISTVERSIONPREFIX= v
CATEGORIES= math
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Symbolic Manipulation System
WWW= https://www.nikhef.nl/~form/
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgmp.so:math/gmp
USES= autoreconf gmake localbase
USE_GITHUB= yes
GH_ACCOUNT= vermaseren
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-native \
--enable-largefile \
--enable-scalar \
--with-api=posix
OPTIONS_DEFINE= DOXYGEN OPENMPI
OPTIONS_SUB= yes
MPICC?= ${LOCALBASE}/mpi/openmpi/bin/mpicc
MPICXX?= ${LOCALBASE}/mpi/openmpi/bin/mpic++
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
OPENMPI_LIB_DEPENDS= libgcc_s.so.1:lang/gcc9 \
libmpi.so:net/openmpi
OPENMPI_CONFIGURE_ENABLE= parform
OPENMPI_CONFIGURE_ENV+= MPICC="${MPICC}" \
MPICXX="${MPICXX}"
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
post-build-DOXYGEN-on:
(cd ${WRKSRC}/doc/manual; ${MAKE_CMD} html pdf)
post-install-DOXYGEN-on:
(cd ${WRKSRC}/doc/manual && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR})
${INSTALL_DATA} ${WRKSRC}/doc/manual/manual.pdf ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|