blob: 1d7f500e2d0e3e3ce516bcf1fb77d1934cdcb81e (
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
|
# New ports collection makefile for: vtk-examples
# Date created: 10 Oct 2003
# Whom: 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
PKGMESSAGE= ${.CURDIR}/pkg-message
.include "${MASTERDIR}/Makefile"
do-build:
do-install: install-cnotice
@${ECHO_MSG} "Installing Examples to ${EXAMPLESDIR} ..."
@${MKDIR} ${EXAMPLESDIR}
@${MKDIR} ${EXAMPLESDIR}/Examples
@${CP} -R ${VTKSRCDIR}/Examples/* ${EXAMPLESDIR}/Examples
@${RM} ${EXAMPLESDIR}/Examples/CMakeList*
@${ECHO_MSG} "Installing Testing to ${EXAMPLESDIR} ... "
@${MKDIR} ${TESTINGDIR}
.for i in ${VTK_KITS}
@${MKDIR} ${TESTINGDIR}/${i}
@${CP} -R ${VTKSRCDIR}/${i}/Testing/* ${TESTINGDIR}/${i}
.endfor
@${CAT} ${PKGMESSAGE} | ${SED} -e 's|%%PREFIX%%|${PREFIX}|' > ${EXAMPLESDIR}/BUILD-HOWTO
@${CAT} ${PKGMESSAGE} | ${SED} -e 's|%%PREFIX%%|${PREFIX}|' > ${DOCSDIR}/README.examples
.include <bsd.port.mk>
|