git: 02b46e32a98f - main - devel/ptl: Add CMake build type hook to pkg-plist

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Mon, 03 Apr 2023 07:13:20 UTC
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=02b46e32a98f6cf89da02ec211a45158f913bd3a

commit 02b46e32a98f6cf89da02ec211a45158f913bd3a
Author:     Erik Jensen <erik@tenku.dk>
AuthorDate: 2023-04-01 11:00:07 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2023-04-03 07:08:38 +0000

    devel/ptl: Add CMake build type hook to pkg-plist
    
    One of the installed files changes names depending of build type.
    
    PR:             270564
    Reported by:    erik@tenku.dk (maintainer)
---
 devel/ptl/Makefile  | 1 +
 devel/ptl/pkg-plist | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/devel/ptl/Makefile b/devel/ptl/Makefile
index d2fad40a7871..4047d6e3fa0a 100644
--- a/devel/ptl/Makefile
+++ b/devel/ptl/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=		ptl
 DISTVERSIONPREFIX=	v
 DISTVERSION=		2.3.3
+PORTREVISION=		1
 CATEGORIES=		devel
 
 MAINTAINER=	erik@tenku.dk
diff --git a/devel/ptl/pkg-plist b/devel/ptl/pkg-plist
index 99a7e95ff158..de392a890b62 100644
--- a/devel/ptl/pkg-plist
+++ b/devel/ptl/pkg-plist
@@ -27,7 +27,7 @@ include/PTL/VUserTaskQueue.hh
 lib/cmake/PTL/Modules/FindTBB.cmake
 lib/cmake/PTL/PTLConfig.cmake
 lib/cmake/PTL/PTLConfigVersion.cmake
-lib/cmake/PTL/PTLTargets-release.cmake
+lib/cmake/PTL/PTLTargets-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/PTL/PTLTargets.cmake
 lib/libptl.so
 lib/libptl.so.%%SHLIB_SHVER%%