Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106975939
D17155.id48009.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D17155.id48009.diff
View Options
Index: graphics/partio/Makefile
===================================================================
--- graphics/partio/Makefile
+++ graphics/partio/Makefile
@@ -11,26 +11,32 @@
LICENSE= BSD3CLAUSE
USES= cmake:outsource gl shebangfix
-SHEBANG_FILES= src/tools/partedit.py src/tools/partjson.py
+USE_XORG= xi xmu
USE_GL= gl glu glut
USE_LDCONFIG= yes
-USE_XORG= xi
USE_GITHUB= yes
GH_ACCOUNT= wdas
-OPTIONS_DEFINE= DOCS PYTHON # XXX: should probably use DOXYGEN
+OPTIONS_DEFINE= DOCS DOXYGEN PYTHON
OPTIONS_DEFAULT= PYTHON
-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_BROKEN_OFF= does not build without Python support
PYTHON_USES= python
PYTHON_BUILD_DEPENDS= swig3.0:devel/swig30
-BINARY_ALIAS= swig=swig3.0
+PYTHON_BINARY_ALIAS= swig=swig3.0
PORTDOCS= *
+SHEBANG_FILES= src/tools/partedit.py src/tools/partjson.py
+
post-patch:
@${REINPLACE_CMD} -e 's|python -c|${PYTHON_CMD} -c|' \
${WRKSRC}/src/py/CMakeLists.txt \
@@ -38,15 +44,12 @@
@${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>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 9, 9:19 AM (4 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15731207
Default Alt Text
D17155.id48009.diff (1 KB)
Attached To
Mode
D17155: graphics/partio: add DOXYGEN option
Attached
Detach File
Event Timeline
Log In to Comment