1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Fix LEGAL/LICENSE* for multimedia/vtkmpeg2encode.

The code itself may be distributed, as well as compiled binaries.
But its usage is subject to patent restrictions, as indicated to the
user in pkg-message.
While on it:
- Stagify
- Pet portlint

PR:		ports/189093
Submitted by:	Jason Bacon <jwbacon@tds.net>
Approved by:	thierry (mentor)
This commit is contained in:
Thomas Zander 2014-05-31 21:22:21 +00:00
parent 69e4dade22
commit 0c44aafe64
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356022
3 changed files with 17 additions and 23 deletions

1
LEGAL
View File

@ -266,7 +266,6 @@ vice-* emulators/vice ROMs are copyrighted by Commodore Business Machines
VMware-vSphere-Perl* net/vmware-vsphere-cli May not be redistributed. Must accept license to download.
vpnc-* security/vpnc Redistribution is not allowed if linked against OpenSSL
vst_sdk2_3.zip audio/ardour Redistribution of the VST PlugIns SDK is not allowed
vtkmpeg2encode.tar.gz multimedia/vtkmpeg2encode The MPEG2 format and all software that uses it is subject to patent restrictions
vwnc7.3.1/* lang/visualworks Do not redistribute
waeijiro-fpw-* japanese/waeijiro-fpw The original dictionary is not free
webcopy-* www/webcopy This program cannot be distributed if modified in any way. Don't sell for profit without written permission

View File

@ -11,16 +11,16 @@ DISTNAME= vtkmpeg2encode
MAINTAINER= ports@FreeBSD.org
COMMENT= VTK MPEG2 encoding library
NO_CDROM= the MPEG2 format and all software that uses it is subject to patent restrictions
NO_PACKAGE= ${NO_CDROM}
LICENSE= MPEG-2
LICENSE_NAME= MPEG-2 license
LICENSE_FILE= ${WRKSRC}/mpeg2enc.h
LICENSE_PERMS= ${_LICENSE_PERMS_DEFAULT}
USES= cmake
USE_LDCONFIG= yes
CMAKE_ARGS?= -DBUILD_SHARED_LIBS:BOOL=ON
VTK_VERSION= 5.10.1
MAN3= vtkmpeg2encode.3
SUB_FILES= vtkmpeg2encode.3
MPEGLIB= libvtkMPEG2Encode
@ -34,32 +34,27 @@ PLIST_FILES= lib/${MPEGLIB}.so.${PORTVERSION} \
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
include/vtk-${VTK_VERSION:R}/vlc.h \
man/man3/vtkmpeg2encode.3.gz
NO_STAGE= yes
post-build:
${MV} ${WRKSRC}/${MPEGLIB}.so ${WRKSRC}/${MPEGLIB}.so.${PORTVERSION}
do-install:
${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.${VTK_VERSION:R}
${LN} -s ${PREFIX}/lib/${MPEGLIB}.so.${PORTVERSION} \
${PREFIX}/lib/${MPEGLIB}.so.${VTK_VERSION:R:R}
${LN} -s ${PREFIX}/lib/${MPEGLIB}.so.${PORTVERSION} \
${PREFIX}/lib/${MPEGLIB}.so
${MKDIR} ${STAGEDIR}${PREFIX}/include/vtk-${VTK_VERSION:R}
${INSTALL_DATA} ${WRKSRC}/${MPEGLIB}.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib
${LN} -s ${MPEGLIB}.so.${PORTVERSION} \
${STAGEDIR}${PREFIX}/lib/${MPEGLIB}.so.${VTK_VERSION:R}
${LN} -s ${MPEGLIB}.so.${PORTVERSION} \
${STAGEDIR}${PREFIX}/lib/${MPEGLIB}.so.${VTK_VERSION:R:R}
${LN} -s ${MPEGLIB}.so.${PORTVERSION} \
${STAGEDIR}${PREFIX}/lib/${MPEGLIB}.so
${INSTALL_DATA} ${WRKSRC}/mpeg2encDllConfig.h \
${WRKSRC}/mpeg2enc_global.h \
${WRKSRC}/mpeg2enc.h \
${WRKSRC}/mpeg2enc_config.h \
${WRKSRC}/vlc.h \
${PREFIX}/include/vtk-${VTK_VERSION:R}
${INSTALL_MAN} ${WRKDIR}/vtkmpeg2encode.3 ${MANPREFIX}/man/man3
post-install:
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
${STAGEDIR}${PREFIX}/include/vtk-${VTK_VERSION:R}
${INSTALL_MAN} ${WRKDIR}/vtkmpeg2encode.3 ${STAGEDIR}${MANPREFIX}/man/man3
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
VTK5 MPEG2 Encoder
WWW: http://www.vtk.org/get-software.php#addons
WWW: http://www.vtk.org/get-software.php#addons