1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/math/vtk-data/Makefile
Erwin Lansing 74cb9eff53 Deprecate md5 in favour of sha256 checksums. md5 checksums will no longer
be generated or checked, and will be silently ignored for now.  Also,
generalize the MD5_FILE macro to DISTINFO_FILO.

PR:		149657
Submitted by:	rene
Approved by:	portmgr
Tested on:	pointyhat i386 7-exp
2010-10-28 21:00:21 +00:00

40 lines
942 B
Makefile

# New ports collection makefile for: vtk-data
# Date created: 10 Oct 2003
# Whom: Mykola Khotyaintsev <ko@irfu.se>
#
# $FreeBSD$
#
PKGNAMESUFFIX= -data
DISTFILES= VTKData-${PORTVERSION}.tar.gz
COMMENT= The Visualization Toolkit examples data
MASTERDIR= ${.CURDIR}/../vtk
DISTINFO_FILE= ${.CURDIR}/distinfo
WRKSRC= ${WRKDIR}/VTKData-release-${PORTVERSION}
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
INSTFILES= Baseline Data VTKData.readme
do-configure:
do-patch:
do-build:
do-install:
@${MKDIR} ${EXAMPLESDIR}
@${MKDIR} ${VTKDATAROOT}
@${ECHO_MSG} "Installing VTKData to ${EXAMPLESDIR} ..."
.for i in ${INSTFILES}
@cd ${WRKSRC} && \
${FIND} ${i} -type d -exec ${MKDIR} ${VTKDATAROOT}/{} \; && \
${FIND} ${i} \! -type d -exec ${INSTALL_DATA} {} ${VTKDATAROOT}/{} \;
.endfor
@${RMDIR} ${VTKDATAROOT}/Baseline/Common # empty
.include "${MASTERDIR}/Makefile"
.include <bsd.port.post.mk>