1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/math/vtk-examples/Makefile
Sam Lawrance 96b7b4c3a5 Update math/vtk-* to version 4.4
PR:		ports/77038
Submitted by:	Mykola Khotyaintsev <ko@irfu.se> (maintainer)
Approved by:	clement (mentor)
2005-04-23 14:12:36 +00:00

45 lines
1.2 KiB
Makefile

# 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
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
.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>