Fix packaging.
Reported by: antoine Pointy hat: mat (for changing things after testing) Sponsored by: Absolight
This commit is contained in:
parent
f0dbf3d4a4
commit
dafac42f63
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=429148
@ -25,7 +25,7 @@ LIB_DEPENDS= libodbc.so:databases/unixODBC
|
||||
CONFIGURE_ARGS+= --with-odbc=${LOCALBASE}
|
||||
|
||||
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
|
||||
DOXYGEN_PORTDOCS= progref
|
||||
PORTDOCS= progref
|
||||
|
||||
post-extract:
|
||||
${RM} ${WRKSRC}/doc/progref/progref-stamp
|
||||
|
@ -20,7 +20,6 @@ GH_ACCOUNT= ddmarshall
|
||||
|
||||
USES= cmake:outsource compiler:c++11-lib
|
||||
PORTEXAMPLES= AirfoilFitExample VSPPodExample test
|
||||
PORTDOCS= html latex
|
||||
ALL_TARGET= all
|
||||
|
||||
# Some useful variables
|
||||
@ -32,6 +31,7 @@ OPTIONS_DEFINE= DOXYGEN EXAMPLES
|
||||
EXAMPLES_LIB_DEPENDS= libcpptest.so:devel/cpptest
|
||||
DOXYGEN_BUILD_DEPENDS= ${LOCALBASE}/bin/doxygen:devel/doxygen
|
||||
DOXYGEN_ALL_TARGET= doc
|
||||
DOXYGEN_PORTDOCS= html latex
|
||||
|
||||
# The code uses std::cbrt(). Even if one passes some additional macros for
|
||||
# libstdc++ to enable additional math functions in math.h some of them, such as
|
||||
@ -45,16 +45,15 @@ post-patch-EXAMPLES-off:
|
||||
${WRKSRC}/CMakeLists.txt
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/include/eli \
|
||||
${STAGEDIR}${EXAMPLESDIR}${TEST_SUBDIR} \
|
||||
${STAGEDIR}${EXAMPLESDIR} \
|
||||
${STAGEDIR}${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/include/eli
|
||||
${INSTALL_DATA} ${BUILD_WRKSRC}/include/eli/code_eli.hpp \
|
||||
${STAGEDIR}${PREFIX}/include/eli
|
||||
(cd ${WRKSRC}/include/eli && \
|
||||
${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/eli "*")
|
||||
|
||||
do-install-EXAMPLES-on:
|
||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}${TEST_SUBDIR} \
|
||||
${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} \
|
||||
${BUILD_WRKSRC}/example/${VSPPOD_DIR}/VSPPodExample \
|
||||
${BUILD_WRKSRC}/example/${AIRFOIL_DIR}/AirfoilFitExample \
|
||||
@ -70,6 +69,7 @@ do-install-EXAMPLES-on:
|
||||
${XARGS} ${STRIP_CMD}
|
||||
|
||||
do-install-DOXYGEN-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${BUILD_WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user