Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jan 2017 15:39:16 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r431472 - in head/devel/unittest-cpp: . files
Message-ID:  <201701141539.v0EFdGir027154@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Sat Jan 14 15:39:16 2017
New Revision: 431472
URL: https://svnweb.freebsd.org/changeset/ports/431472

Log:
  Update to 2.0.0.
  
  PR:		216068
  Submitted by:	maintainer

Added:
  head/devel/unittest-cpp/files/
  head/devel/unittest-cpp/files/patch-CMakeLists.txt   (contents, props changed)
Modified:
  head/devel/unittest-cpp/Makefile
  head/devel/unittest-cpp/distinfo
  head/devel/unittest-cpp/pkg-plist

Modified: head/devel/unittest-cpp/Makefile
==============================================================================
--- head/devel/unittest-cpp/Makefile	Sat Jan 14 15:31:39 2017	(r431471)
+++ head/devel/unittest-cpp/Makefile	Sat Jan 14 15:39:16 2017	(r431472)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	unittest-cpp
-PORTVERSION=	1.6.1
+PORTVERSION=	2.0.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=	devel
 

Modified: head/devel/unittest-cpp/distinfo
==============================================================================
--- head/devel/unittest-cpp/distinfo	Sat Jan 14 15:31:39 2017	(r431471)
+++ head/devel/unittest-cpp/distinfo	Sat Jan 14 15:39:16 2017	(r431472)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1483277010
-SHA256 (unittest-cpp-unittest-cpp-v1.6.1_GH0.tar.gz) = 1cc9071be01db190f26868fefb6a7af49ee56a339fc3b08d1a1e9eeca5376c45
-SIZE (unittest-cpp-unittest-cpp-v1.6.1_GH0.tar.gz) = 52536
+TIMESTAMP = 1484404298
+SHA256 (unittest-cpp-unittest-cpp-v2.0.0_GH0.tar.gz) = 74852198877dc2fdebdc4e5e9bd074018bf8ee03a13de139bfe41f4585b2f5b9
+SIZE (unittest-cpp-unittest-cpp-v2.0.0_GH0.tar.gz) = 54100

Added: head/devel/unittest-cpp/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/unittest-cpp/files/patch-CMakeLists.txt	Sat Jan 14 15:39:16 2017	(r431472)
@@ -0,0 +1,14 @@
+--- CMakeLists.txt.orig	2017-01-14 14:55:56 UTC
++++ CMakeLists.txt
+@@ -106,5 +106,10 @@ set(exec_prefix ${CMAKE_INSTALL_PREFIX}/
+ set(libdir      ${CMAKE_INSTALL_PREFIX}/lib)
+ set(includedir  ${CMAKE_INSTALL_PREFIX}/include/UnitTest++)
+ configure_file("UnitTest++.pc.in" "UnitTest++.pc" @ONLY)
++if(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
++    set(pkgconfdir  ${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig)
++else()
++    set(pkgconfdir  ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig)
++endif()
+ install(FILES       "${CMAKE_CURRENT_BINARY_DIR}/UnitTest++.pc"
+-        DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig")
++        DESTINATION "${pkgconfdir}")

Modified: head/devel/unittest-cpp/pkg-plist
==============================================================================
--- head/devel/unittest-cpp/pkg-plist	Sat Jan 14 15:31:39 2017	(r431471)
+++ head/devel/unittest-cpp/pkg-plist	Sat Jan 14 15:39:16 2017	(r431472)
@@ -37,3 +37,4 @@ lib/cmake/UnitTest++/UnitTest++Config.cm
 lib/cmake/UnitTest++/UnitTest++Targets-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/UnitTest++/UnitTest++Targets.cmake
 lib/libUnitTest++.a
+libdata/pkgconfig/UnitTest++.pc



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