blob: 72427d5f61699e98a1c7ce6534d1aa9cbe713057 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Created by: Mykola Khotyaintsev <ko@irfu.se>
# $FreeBSD$
PKGNAMESUFFIX= -examples
COMMENT= Visualization Toolkit: Examples in the C++, Tcl, Python, and Java
RUN_DEPENDS= ${VTKDATAROOT}/VTKData.readme:${PORTSDIR}/math/vtk-data
MASTERDIR= ${.CURDIR}/../vtk
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"
do-patch:
do-build:
do-install: install-cnotice
@${ECHO_MSG} "Installing Examples to ${EXAMPLESDIR} ..."
@${MKDIR} ${EXAMPLESDIR}
@${MKDIR} ${EXAMPLESDIR}/Examples
@cd ${VTKSRCDIR} && \
${FIND} Examples -type d -exec ${MKDIR} ${EXAMPLESDIR}/{} \; && \
${FIND} Examples \! -type d -exec ${INSTALL_DATA} {} ${EXAMPLESDIR}/{} \;
@${RM} ${EXAMPLESDIR}/Examples/CMakeList*
@${ECHO_MSG} "Installing Testing to ${EXAMPLESDIR} ... "
@${MKDIR} ${TESTINGDIR}
.for i in ${VTK_KITS}
@cd ${VTKSRCDIR}/${i}/Testing && \
${FIND} * -type d -exec ${MKDIR} ${TESTINGDIR}/${i}/{} \; && \
${FIND} * \! -type d -exec ${INSTALL_DATA} {} ${TESTINGDIR}/${i}/{} \;
.endfor
@${INSTALL_DATA} ${PKGMESSAGE} ${DOCSDIR}/README.examples
.include <bsd.port.post.mk>
|