Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jun 2015 15:59:45 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r388439 - head/math/vtk5
Message-ID:  <201506031559.t53FxjKE026161@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Jun  3 15:59:44 2015
New Revision: 388439
URL: https://svnweb.freebsd.org/changeset/ports/388439

Log:
  - Add LICENSE_FILE
  - Strip libraries

Modified:
  head/math/vtk5/Makefile

Modified: head/math/vtk5/Makefile
==============================================================================
--- head/math/vtk5/Makefile	Wed Jun  3 15:59:33 2015	(r388438)
+++ head/math/vtk5/Makefile	Wed Jun  3 15:59:44 2015	(r388439)
@@ -3,7 +3,7 @@
 
 PORTNAME=	vtk
 PORTVERSION=	5.10.1
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	math graphics
 MASTER_SITES=	http://www.vtk.org/files/release/${PORTVERSION:R}/
 PKGNAMESUFFIX=	5
@@ -13,6 +13,7 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	The Visualization Toolkit
 
 LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/Copyright.txt
 
 LIB_DEPENDS=	libexpat.so:${PORTSDIR}/textproc/expat2 \
 		libjpeg.so:${PORTSDIR}/graphics/jpeg \
@@ -253,11 +254,12 @@ LIBS_TOFIX=	vtkNetCDF_cxx vtkhdf5 vtkhdf
 LIBDIR=		${PREFIX}/lib/vtk-${PORTVERSION:R}/
 
 post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/qt4/plugins/designer/libQVTKWidgetPlugin.so
 # Ports system wants us to conform to lib.so.x format, but VTK5
 # only installs lib.so.x.y and lib.so.x.y.z.
 .if ${PORT_OPTIONS:MSHARED}
 	@for lib in ${LIBS_TOFIX}; do \
-		${CP} ${STAGEDIR}${LIBDIR}/lib$$lib.so ${STAGEDIR}${LIBDIR}/lib$$lib.so.${PORTVERSION}; \
+		${INSTALL_LIB} ${STAGEDIR}${LIBDIR}/lib$$lib.so ${STAGEDIR}${LIBDIR}/lib$$lib.so.${PORTVERSION}; \
 		${LN} -sf lib$$lib.so.${PORTVERSION} ${STAGEDIR}${LIBDIR}/lib$$lib.so.${PORTVERSION:R}; \
 	done
 	@cd ${STAGEDIR}${LIBDIR}; \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506031559.t53FxjKE026161>