aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/cmph/Makefile17
-rw-r--r--devel/cmph/distinfo5
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