mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
. NOPORTDOCS -> PORT_OPTIONS:MDOCS;
. use PORTDOCS and PORTEXAMPLES at Makefile (trim pkg-plist); . introduce option EXAMPLES; . mute mkdir command; . remove an article from COMMENT.
This commit is contained in:
parent
e787195ae3
commit
fbd934f991
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=321387
@ -9,7 +9,7 @@ MASTER_SITES= SF
|
||||
DISTNAME= MayaVi-${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= A scientific data visualizer
|
||||
COMMENT= Scientific data visualizer
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter
|
||||
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/vtk.pth:${PORTSDIR}/math/vtk-python \
|
||||
@ -20,10 +20,19 @@ USE_PYDISTUTILS= yes
|
||||
PYDISTUTILS_PKGNAME= MayaVi
|
||||
CPIO_ARGS= --quiet -pdum -R
|
||||
|
||||
PORTDOCS= *
|
||||
PORTEXAMPLES= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${EXAMPLESDIR}
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/*.* ${EXAMPLESDIR}
|
||||
.if !defined(NOPORTDOCS)
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
(cd ${WRKSRC}/doc && ${FIND} * | ${CPIO} ${CPIO_ARGS} ${SHAREOWN}:${SHAREGRP} ${DOCSDIR})
|
||||
.endif
|
||||
|
@ -243,42 +243,6 @@ bin/vtk_doc.py
|
||||
%%PYTHON_SITELIBDIR%%/vtkPipeline/vtkPipeline.py
|
||||
%%PYTHON_SITELIBDIR%%/vtkPipeline/vtkPipeline.pyc
|
||||
%%PYTHON_SITELIBDIR%%/vtkPipeline/vtkPipeline.pyo
|
||||
%%PORTDOCS%%%%DOCSDIR%%/CREDITS.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/NEWS.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/TODO.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/guide/figures/basic_anot.jpg
|
||||
%%PORTDOCS%%%%DOCSDIR%%/guide/figures/cmd_line_sc_shot.jpg
|
||||
%%PORTDOCS%%%%DOCSDIR%%/guide/figures/control_panel_anot.jpg
|
||||
%%PORTDOCS%%%%DOCSDIR%%/guide/ch01.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/guide/ch02.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/guide/ch02s02.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/guide/ch02s03.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/guide/ch03.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/guide/ch03s02.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/guide/ch03s03.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/guide/ch03s04.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/guide/ch03s05.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/guide/ch03s06.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/guide/ch03s07.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/guide/ch03s08.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/guide/ch03s09.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/guide/ch04.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/guide/ch04s02.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/guide/ch05.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/guide/ch05s02.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/guide/index.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/install.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test_vtk.py
|
||||
%%PORTDOCS%%%%DOCSDIR%%/vtk_doc.py
|
||||
%%EXAMPLESDIR%%/custom16.lut
|
||||
%%EXAMPLESDIR%%/heart.mv
|
||||
%%EXAMPLESDIR%%/heart.vtk
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%/guide/figures
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%/guide
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
@dirrm %%EXAMPLESDIR%%
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/vtkPipeline/Icons
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/vtkPipeline
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/mayavi/tools
|
||||
|
Loading…
Reference in New Issue
Block a user