Changeset View
Changeset View
Standalone View
Standalone View
graphics/partio/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= partio | PORTNAME= partio | ||||
PORTVERSION= 1.5.5 | PORTVERSION= 1.5.5 | ||||
DISTVERSIONPREFIX= v | DISTVERSIONPREFIX= v | ||||
CATEGORIES= graphics math | CATEGORIES= graphics math | ||||
MAINTAINER= ports@FreeBSD.org | MAINTAINER= ports@FreeBSD.org | ||||
COMMENT= C++ library for manipulating animation particle formats | COMMENT= C++ library for manipulating animation particle formats | ||||
LICENSE= BSD3CLAUSE | LICENSE= BSD3CLAUSE | ||||
USES= cmake:outsource gl shebangfix | BUILD_DEPENDS= swig3.0:devel/swig30 | ||||
USES= cmake:outsource gl python shebangfix | |||||
SHEBANG_FILES= src/tools/partedit.py src/tools/partjson.py | SHEBANG_FILES= src/tools/partedit.py src/tools/partjson.py | ||||
mat: Why move this? | |||||
USE_GL= gl glu glut | USE_GL= gl glu glut | ||||
Done Inline ActionsWhy blank line? mat: Why blank line? | |||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
USE_XORG= xi | USE_XORG= xi xmu | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= wdas | GH_ACCOUNT= wdas | ||||
OPTIONS_DEFINE= DOCS PYTHON # XXX: should probably use DOXYGEN | OPTIONS_DEFINE= DOCS DOXYGEN | ||||
OPTIONS_DEFAULT= PYTHON | OPTIONS_DEFAULT= DOCS | ||||
PYTHON_BROKEN_OFF= does not build without Python support | # DOCS must be selected for PORTDOCS to work | ||||
DOXYGEN_IMPLIES= DOCS | |||||
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen | |||||
DOXYGEN_ALL_TARGET= all doc | |||||
DOCS_BUILD_DEPENDS= doxygen:devel/doxygen | DOCS_BUILD_DEPENDS= doxygen:devel/doxygen | ||||
Not Done Inline ActionsRemove this maybe. mat: Remove this maybe. | |||||
PYTHON_USES= python | |||||
PYTHON_BUILD_DEPENDS= swig3.0:devel/swig30 | |||||
BINARY_ALIAS= swig=swig3.0 | BINARY_ALIAS= swig=swig3.0 | ||||
PORTDOCS= * | PORTDOCS= * | ||||
Done Inline ActionsMaybe remove the option if it is required now. mat: Maybe remove the option if it is required now. | |||||
post-patch: | post-patch: | ||||
Done Inline ActionsWhy move this? mat: Why move this? | |||||
@${REINPLACE_CMD} -e 's|python -c|${PYTHON_CMD} -c|' \ | @${REINPLACE_CMD} -e 's|python -c|${PYTHON_CMD} -c|' \ | ||||
${WRKSRC}/src/py/CMakeLists.txt \ | ${WRKSRC}/src/py/CMakeLists.txt \ | ||||
${WRKSRC}/src/tools/CMakeLists.txt | ${WRKSRC}/src/tools/CMakeLists.txt | ||||
@${REINPLACE_CMD} -e '/install(TARGETS/d' \ | @${REINPLACE_CMD} -e '/install(TARGETS/d' \ | ||||
${WRKSRC}/src/tests/CMakeLists.txt | ${WRKSRC}/src/tests/CMakeLists.txt | ||||
post-patch-PYTHON-off: | |||||
@${REINPLACE_CMD} -e '/ADD_SUBDIRECTORY.*src\/py.*/d' \ | |||||
${WRKSRC}/CMakeLists.txt | |||||
post-patch-DOCS-off: | post-patch-DOCS-off: | ||||
@${REINPLACE_CMD} -e '/ADD_SUBDIRECTORY.*src\/doc.*/d' \ | @${REINPLACE_CMD} -e '/ADD_SUBDIRECTORY.*src\/doc.*/d' \ | ||||
${WRKSRC}/CMakeLists.txt | ${WRKSRC}/CMakeLists.txt | ||||
post-build-DOCS-on: | post-install-DOCS-on: | ||||
@${MAKE_CMD} -C ${BUILD_WRKSRC} doc | @${MKDIR} ${STAGEDIR}${DOCSDIR} | ||||
cd ${WRKSRC}/src/doc && ${INSTALL_DATA} tutorial.txt partio.tex ${STAGEDIR}${DOCSDIR} | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
Why move this?