git: 1c12a9ed6036 - main - devel/cmph: update to 2.0.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 30 Jun 2025 06:38:42 UTC
The branch main has been updated by tagattie:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1c12a9ed6036acdceecebcddcb5fabefd1ec20d4
commit 1c12a9ed6036acdceecebcddcb5fabefd1ec20d4
Author: Siva Mahadevan <me@svmhdvn.name>
AuthorDate: 2025-04-04 14:38:31 +0000
Commit: Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2025-06-30 06:38:25 +0000
devel/cmph: update to 2.0.2
While here:
- update MASTER_SITES to GitHub
Upstream has officially moved to GitHub as discussed here:
https://github.com/bonitao/cmph/issues/1
- add LICENSE and LICENSE_FILE
- remove GNU_CONFIGURE_MANPREFIX
- add post-install target to strip library
- reorder variables to make portclippy happy
Changelog: https://github.com/bonitao/cmph/releases/tag/v2.0.2
Co-authored-by: Yusuf Yaman <nxjoseph@protonmail.com>
PR: 285883
Reported by: Siva Mahadevan <me@svmhdvn.name>,
Yusuf Yaman <nxjoseph@protonmail.com>
Approved by: Jesse Kempf <jessekempf@gmail.com> (maintainer)
---
devel/cmph/Makefile | 17 ++++++++++++-----
devel/cmph/distinfo | 5 +++--
2 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/devel/cmph/Makefile b/devel/cmph/Makefile
index 685ac5969735..cb5362f9a3a2 100644
--- a/devel/cmph/Makefile
+++ b/devel/cmph/Makefile
@@ -1,16 +1,23 @@
PORTNAME= cmph
-PORTVERSION= 2.0
-PORTREVISION= 2
+DISTVERSION= 2.0.2
CATEGORIES= devel
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}
+MASTER_SITES= https://github.com/bonitao/cmph/releases/download/v${DISTVERSION}/
MAINTAINER= jessekempf@gmail.com
COMMENT= Minimal perfect hashes for C
WWW= https://cmph.sourceforge.net/
-GNU_CONFIGURE= yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
+LICENSE= LGPL21 MPL11
+LICENSE_COMB= dual
+LICENSE_FILE_LGPL21= ${WRKSRC}/LGPL-2
+LICENSE_FILE_MPL11= ${WRKSRC}/MPL-1.1
+
USES= libtool pathfix
USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcmph.so.0.0.0
+
.include <bsd.port.mk>
diff --git a/devel/cmph/distinfo b/devel/cmph/distinfo
index 0036be922354..0359babd554f 100644
--- a/devel/cmph/distinfo
+++ b/devel/cmph/distinfo
@@ -1,2 +1,3 @@
-SHA256 (cmph-2.0.tar.gz) = ad6c9a75ff3da1fb1222cac0c1d9877f4f2366c5c61c92338c942314230cba76
-SIZE (cmph-2.0.tar.gz) = 480924
+TIMESTAMP = 1743778592
+SHA256 (cmph-2.0.2.tar.gz) = 365f1e8056400d460f1ee7bfafdbf37d5ee6c78e8f4723bf4b3c081c89733f1e
+SIZE (cmph-2.0.2.tar.gz) = 532528