mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
a9f015d155
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590
58 lines
1.4 KiB
Makefile
58 lines
1.4 KiB
Makefile
# Created by: Nicola Vitale <nivit@email.it>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= muparser
|
|
PORTVERSION= 2.2.5
|
|
PORTREVISION= 1
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= math devel
|
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
|
COMMENT= Mathematical expressions parser library written in C++
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/License.txt
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= beltoforion
|
|
|
|
USES= ${USES_${ARCH}} dos2unix pathfix
|
|
USES_powerpc64= compiler:c++11-lang
|
|
USES_powerpc= compiler:c++11-lang
|
|
USES_powerpcspe= compiler:c++11-lang
|
|
USES_sparc64= compiler:c++11-lang
|
|
USE_LDCONFIG= yes
|
|
|
|
ALL_TARGET= lib
|
|
GNU_CONFIGURE= yes
|
|
# otherwise it fails to build when the EXAMPLES option is ON
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
OPTIONS_DEFINE= DOCS DOXYGEN EXAMPLES
|
|
|
|
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \
|
|
dot:graphics/graphviz
|
|
DOXYGEN_ALL_TARGET= documentation
|
|
DOXYGEN_PORTDOCS= *
|
|
DOXYGEN_IMPLIES= DOCS
|
|
|
|
EXAMPLES_CONFIGURE_ENABLE= samples
|
|
EXAMPLES_ALL_TARGET= samples
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -E 's,^(CXXFLAGS|LDFLAGS) = ,\1 ?= ,g' \
|
|
${WRKSRC}/Makefile.in
|
|
|
|
post-install-DOXYGEN-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC}/docs/html && \
|
|
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
|
|
|
post-install-EXAMPLES-on:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
(cd ${WRKSRC}/samples/example1 && \
|
|
${INSTALL_PROGRAM} example1 ${STAGEDIR}${EXAMPLESDIR} && \
|
|
${INSTALL_DATA} example1.cpp ${STAGEDIR}${EXAMPLESDIR})
|
|
|
|
.include <bsd.port.mk>
|