Date: Tue, 18 Sep 2018 20:22:21 +0000 (UTC) From: =?UTF-8?Q?Fernando_Apestegu=c3=ada?= <fernape@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r480080 - head/graphics/partio Message-ID: <201809182022.w8IKMLxH045221@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: fernape Date: Tue Sep 18 20:22:21 2018 New Revision: 480080 URL: https://svnweb.freebsd.org/changeset/ports/480080 Log: graphics/partio: Remove PYTHON option. * The port does not build without python * Add DOXYGEN option * Install extra doc files Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D17155 Modified: head/graphics/partio/Makefile Modified: head/graphics/partio/Makefile ============================================================================== --- head/graphics/partio/Makefile Tue Sep 18 20:12:04 2018 (r480079) +++ head/graphics/partio/Makefile Tue Sep 18 20:22:21 2018 (r480080) @@ -10,23 +10,27 @@ COMMENT= C++ library for manipulating animation partic 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 USE_GL= gl glu glut USE_LDCONFIG= yes -USE_XORG= xi +USE_XORG= xi xmu USE_GITHUB= yes GH_ACCOUNT= wdas -OPTIONS_DEFINE= DOCS PYTHON # XXX: should probably use DOXYGEN -OPTIONS_DEFAULT= PYTHON +OPTIONS_DEFINE= DOCS DOXYGEN +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 -PYTHON_USES= python -PYTHON_BUILD_DEPENDS= swig3.0:devel/swig30 + BINARY_ALIAS= swig=swig3.0 PORTDOCS= * @@ -38,15 +42,12 @@ post-patch: @${REINPLACE_CMD} -e '/install(TARGETS/d' \ ${WRKSRC}/src/tests/CMakeLists.txt -post-patch-PYTHON-off: - @${REINPLACE_CMD} -e '/ADD_SUBDIRECTORY.*src\/py.*/d' \ - ${WRKSRC}/CMakeLists.txt - post-patch-DOCS-off: @${REINPLACE_CMD} -e '/ADD_SUBDIRECTORY.*src\/doc.*/d' \ ${WRKSRC}/CMakeLists.txt -post-build-DOCS-on: - @${MAKE_CMD} -C ${BUILD_WRKSRC} doc +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/src/doc && ${INSTALL_DATA} tutorial.txt partio.tex ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809182022.w8IKMLxH045221>