diff options
author | gahr <gahr@FreeBSD.org> | 2011-09-14 17:49:38 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2011-09-14 17:49:38 +0800 |
commit | 567f10e8528d9ceac9a181c87d8a2b697e9b175e (patch) | |
tree | ec1cc41f996d00a1c6b6cb4230fa49d2bd78226d /multimedia | |
parent | 35595c1d5ea4a4abd8c0d92cb62b4ebc417e879e (diff) | |
download | freebsd-ports-gnome-567f10e8528d9ceac9a181c87d8a2b697e9b175e.tar.gz freebsd-ports-gnome-567f10e8528d9ceac9a181c87d8a2b697e9b175e.tar.zst freebsd-ports-gnome-567f10e8528d9ceac9a181c87d8a2b697e9b175e.zip |
- Update math/vtk5 to 5.8.0
Release notes:
http://www.vtk.org/pipermail/vtkusers/2011-September/118889.html
- Update multimedia/vtkmpeg2encode to reflect math/vtk5 PORTVERSION
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/vtkmpeg2encode/Makefile | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/multimedia/vtkmpeg2encode/Makefile b/multimedia/vtkmpeg2encode/Makefile index c52b8930db5f..0d63e673ede7 100644 --- a/multimedia/vtkmpeg2encode/Makefile +++ b/multimedia/vtkmpeg2encode/Makefile @@ -6,7 +6,7 @@ # PORTNAME= vtkmpeg2encode -PORTVERSION= 5.6.0 +PORTVERSION= ${VTK_VERSION} CATEGORIES= multimedia math MASTER_SITES= http://www.vtk.org/files/support/ \ http://www.neuro.mcw.edu/Ports/distfiles/VTK5/ @@ -21,6 +21,7 @@ NO_PACKAGE= ${NO_CDROM} USE_CMAKE= yes USE_LDCONFIG= yes CMAKE_ARGS?= -DBUILD_SHARED_LIBS:BOOL=ON +VTK_VERSION= 5.8.0 MAN3= vtkmpeg2encode.3 @@ -28,27 +29,27 @@ SUB_FILES= vtkmpeg2encode.3 MPEGLIB= libvtkMPEG2Encode -PLIST_DIRS= include/vtk-5.6 +PLIST_DIRS= include/vtk-${VTK_VERSION:R} PLIST_FILES= lib/${MPEGLIB}.so.${PORTVERSION} \ - lib/${MPEGLIB}.so.5.6 \ - lib/${MPEGLIB}.so.5 \ + lib/${MPEGLIB}.so.${VTK_VERSION:R} \ + lib/${MPEGLIB}.so.${VTK_VERSION:R:R} \ lib/${MPEGLIB}.so \ - include/vtk-5.6/mpeg2encDllConfig.h \ - include/vtk-5.6/mpeg2enc_global.h \ - include/vtk-5.6/mpeg2enc.h \ - include/vtk-5.6/mpeg2enc_config.h \ - include/vtk-5.6/vlc.h + include/vtk-${VTK_VERSION:R}/mpeg2encDllConfig.h \ + include/vtk-${VTK_VERSION:R}/mpeg2enc_global.h \ + include/vtk-${VTK_VERSION:R}/mpeg2enc.h \ + include/vtk-${VTK_VERSION:R}/mpeg2enc_config.h \ + include/vtk-${VTK_VERSION:R}/vlc.h post-build: ${MV} ${WRKSRC}/${MPEGLIB}.so ${WRKSRC}/${MPEGLIB}.so.${PORTVERSION} do-install: - ${MKDIR} ${PREFIX}/include/vtk-5.6 + ${MKDIR} ${PREFIX}/include/vtk-${VTK_VERSION:R} ${INSTALL_DATA} ${WRKSRC}/${MPEGLIB}.so.${PORTVERSION} ${PREFIX}/lib ${LN} -s ${PREFIX}/lib/${MPEGLIB}.so.${PORTVERSION} \ - ${PREFIX}/lib/${MPEGLIB}.so.5.6 + ${PREFIX}/lib/${MPEGLIB}.so.${VTK_VERSION:R} ${LN} -s ${PREFIX}/lib/${MPEGLIB}.so.${PORTVERSION} \ - ${PREFIX}/lib/${MPEGLIB}.so.5 + ${PREFIX}/lib/${MPEGLIB}.so.${VTK_VERSION:R:R} ${LN} -s ${PREFIX}/lib/${MPEGLIB}.so.${PORTVERSION} \ ${PREFIX}/lib/${MPEGLIB}.so ${INSTALL_DATA} ${WRKSRC}/mpeg2encDllConfig.h \ @@ -56,7 +57,7 @@ do-install: ${WRKSRC}/mpeg2enc.h \ ${WRKSRC}/mpeg2enc_config.h \ ${WRKSRC}/vlc.h \ - ${PREFIX}/include/vtk-5.6 + ${PREFIX}/include/vtk-${VTK_VERSION:R} ${INSTALL_MAN} ${WRKDIR}/vtkmpeg2encode.3 ${MANPREFIX}/man/man3 post-install: |