git: d9907fcb3499 - main - devel/robin-map: Add cmake files
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 04 Nov 2024 02:39:28 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d9907fcb34998ae613b487ff936ce6348ba6f40a
commit d9907fcb34998ae613b487ff936ce6348ba6f40a
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-11-04 02:36:59 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-11-04 02:39:21 +0000
devel/robin-map: Add cmake files
PR: 282506
Approved by: Shane <FreeBSD@ShaneWare.Biz>
---
devel/robin-map/Makefile | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/devel/robin-map/Makefile b/devel/robin-map/Makefile
index a448996b89e0..f758a1214a7b 100644
--- a/devel/robin-map/Makefile
+++ b/devel/robin-map/Makefile
@@ -1,6 +1,7 @@
PORTNAME= robin-map
DISTVERSIONPREFIX= v
DISTVERSION= 1.3.0
+PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= FreeBSD@Shaneware.biz
@@ -8,6 +9,9 @@ COMMENT= Fast hash map and hash set
WWW= https://github.com/Tessil/robin-map
LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= cmake
USE_GITHUB= yes
GH_ACCOUNT= Tessil
@@ -18,10 +22,9 @@ NO_BUILD= yes
PLIST_FILES= include/tsl/robin_growth_policy.h \
include/tsl/robin_hash.h \
include/tsl/robin_map.h \
- include/tsl/robin_set.h
-
-do-install:
- ${MKDIR} ${STAGEDIR}${PREFIX}/include/tsl
- ${INSTALL_DATA} ${WRKSRC}/include/tsl/* ${STAGEDIR}${PREFIX}/include/tsl/
+ include/tsl/robin_set.h \
+ share/cmake/tsl-robin-map/tsl-robin-mapConfig.cmake \
+ share/cmake/tsl-robin-map/tsl-robin-mapConfigVersion.cmake \
+ share/cmake/tsl-robin-map/tsl-robin-mapTargets.cmake
.include <bsd.port.mk>