diff options
author | riggs <riggs@FreeBSD.org> | 2014-06-01 05:22:21 +0800 |
---|---|---|
committer | riggs <riggs@FreeBSD.org> | 2014-06-01 05:22:21 +0800 |
commit | 8f4cec1eb17fd2550ae9cf57b0c94b1c61d57103 (patch) | |
tree | 1421118bcfb33aaa8100cdac0e4f1e7515afee4d /multimedia | |
parent | 7003dcb7fd0a52cb87f6c8fcdb1d1a1ac5b87db8 (diff) | |
download | freebsd-ports-gnome-8f4cec1eb17fd2550ae9cf57b0c94b1c61d57103.tar.gz freebsd-ports-gnome-8f4cec1eb17fd2550ae9cf57b0c94b1c61d57103.tar.zst freebsd-ports-gnome-8f4cec1eb17fd2550ae9cf57b0c94b1c61d57103.zip |
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)
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/vtkmpeg2encode/Makefile | 37 | ||||
-rw-r--r-- | multimedia/vtkmpeg2encode/pkg-descr | 2 |
2 files changed, 17 insertions, 22 deletions
diff --git a/multimedia/vtkmpeg2encode/Makefile b/multimedia/vtkmpeg2encode/Makefile index 0a2e56f5a67a..28c1be1bb394 100644 --- a/multimedia/vtkmpeg2encode/Makefile +++ b/multimedia/vtkmpeg2encode/Makefile @@ -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> diff --git a/multimedia/vtkmpeg2encode/pkg-descr b/multimedia/vtkmpeg2encode/pkg-descr index a6b3b3950410..3a6e938a12c1 100644 --- a/multimedia/vtkmpeg2encode/pkg-descr +++ b/multimedia/vtkmpeg2encode/pkg-descr @@ -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 |