svn commit: r356022 - in head: . multimedia/vtkmpeg2encode

Thomas Zander riggs at FreeBSD.org
Sat May 31 21:22:23 UTC 2014


Author: riggs
Date: Sat May 31 21:22:21 2014
New Revision: 356022
URL: http://svnweb.freebsd.org/changeset/ports/356022
QAT: https://qat.redports.org/buildarchive/r356022/

Log:
  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 at tds.net>
  Approved by:	thierry (mentor)

Modified:
  head/LEGAL
  head/multimedia/vtkmpeg2encode/Makefile
  head/multimedia/vtkmpeg2encode/pkg-descr

Modified: head/LEGAL
==============================================================================
--- head/LEGAL	Sat May 31 21:00:54 2014	(r356021)
+++ head/LEGAL	Sat May 31 21:22:21 2014	(r356022)
@@ -266,7 +266,6 @@ vice-*			emulators/vice		ROMs are copyri
 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

Modified: head/multimedia/vtkmpeg2encode/Makefile
==============================================================================
--- head/multimedia/vtkmpeg2encode/Makefile	Sat May 31 21:00:54 2014	(r356021)
+++ head/multimedia/vtkmpeg2encode/Makefile	Sat May 31 21:22:21 2014	(r356022)
@@ -11,16 +11,16 @@ DISTNAME=	vtkmpeg2encode
 MAINTAINER=	ports at 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.${PORTVER
 		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>

Modified: head/multimedia/vtkmpeg2encode/pkg-descr
==============================================================================
--- head/multimedia/vtkmpeg2encode/pkg-descr	Sat May 31 21:00:54 2014	(r356021)
+++ head/multimedia/vtkmpeg2encode/pkg-descr	Sat May 31 21:22:21 2014	(r356022)
@@ -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


More information about the svn-ports-all mailing list