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)
This commit is contained in:
Siva Mahadevan
2025-04-04 14:38:31 +00:00
committed by Hiroki Tagato
parent 464614f06c
commit 1c12a9ed60
2 changed files with 15 additions and 7 deletions
+12 -5
View File
@@ -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>
+3 -2
View File
@@ -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