aboutsummaryrefslogtreecommitdiff
path: root/devel/cmph/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/cmph/Makefile')
-rw-r--r--devel/cmph/Makefile17
1 files changed, 12 insertions, 5 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>