Lines 2-9
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= muparser |
4 |
PORTNAME= muparser |
5 |
PORTVERSION= 2.2.5 |
5 |
PORTVERSION= 2.3.2 |
6 |
PORTREVISION= 2 |
|
|
7 |
DISTVERSIONPREFIX= v |
6 |
DISTVERSIONPREFIX= v |
8 |
CATEGORIES= math devel |
7 |
CATEGORIES= math devel |
9 |
|
8 |
|
Lines 10-57
Link Here
|
10 |
MAINTAINER= nivit@FreeBSD.org |
9 |
MAINTAINER= nivit@FreeBSD.org |
11 |
COMMENT= Mathematical expressions parser library written in C++ |
10 |
COMMENT= Mathematical expressions parser library written in C++ |
12 |
|
11 |
|
13 |
LICENSE= MIT |
12 |
LICENSE= BSD2CLAUSE |
14 |
LICENSE_FILE= ${WRKSRC}/License.txt |
13 |
LICENSE_FILE= ${WRKSRC}/License.txt |
15 |
|
14 |
|
|
|
15 |
USES= cmake compiler:c++11-lang |
16 |
USE_LDCONFIG= yes |
17 |
|
16 |
USE_GITHUB= yes |
18 |
USE_GITHUB= yes |
17 |
GH_ACCOUNT= beltoforion |
19 |
GH_ACCOUNT= beltoforion |
18 |
|
20 |
|
19 |
USES= ${USES_${ARCH}} dos2unix pathfix |
21 |
OPTIONS_DEFINE= EXAMPLES |
20 |
USES_powerpc64= compiler:c++11-lang |
|
|
21 |
USES_powerpc= compiler:c++11-lang |
22 |
USES_powerpcspe= compiler:c++11-lang |
23 |
USES_sparc64= compiler:c++11-lang |
24 |
USE_LDCONFIG= yes |
25 |
|
22 |
|
26 |
ALL_TARGET= lib |
23 |
CMAKE_OFF= ENABLE_SAMPLES |
27 |
GNU_CONFIGURE= yes |
|
|
28 |
# otherwise it fails to build when the EXAMPLES option is ON |
29 |
MAKE_JOBS_UNSAFE= yes |
30 |
|
24 |
|
31 |
OPTIONS_DEFINE= DOCS DOXYGEN EXAMPLES |
25 |
EXAMPLES_PORTEXAMPLES= * |
32 |
|
26 |
|
33 |
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \ |
|
|
34 |
dot:graphics/graphviz |
35 |
DOXYGEN_ALL_TARGET= documentation |
36 |
DOXYGEN_PORTDOCS= * |
37 |
DOXYGEN_IMPLIES= DOCS |
38 |
|
39 |
EXAMPLES_CONFIGURE_ENABLE= samples |
40 |
EXAMPLES_ALL_TARGET= samples |
41 |
|
42 |
post-patch: |
43 |
@${REINPLACE_CMD} -E 's,^(CXXFLAGS|LDFLAGS) = ,\1 ?= ,g' \ |
44 |
${WRKSRC}/Makefile.in |
45 |
|
46 |
post-install-DOXYGEN-on: |
47 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
48 |
(cd ${WRKSRC}/docs/html && \ |
49 |
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) |
50 |
|
51 |
post-install-EXAMPLES-on: |
27 |
post-install-EXAMPLES-on: |
52 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
28 |
cd ${WRKSRC} && ${COPYTREE_SHARE} samples ${STAGEDIR}${EXAMPLESDIR} |
53 |
(cd ${WRKSRC}/samples/example1 && \ |
|
|
54 |
${INSTALL_PROGRAM} example1 ${STAGEDIR}${EXAMPLESDIR} && \ |
55 |
${INSTALL_DATA} example1.cpp ${STAGEDIR}${EXAMPLESDIR}) |
56 |
|
29 |
|
57 |
.include <bsd.port.mk> |
30 |
.include <bsd.port.mk> |