aboutsummaryrefslogtreecommitdiffstats
path: root/security/mhash
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2004-12-30 20:48:29 +0800
committerroam <roam@FreeBSD.org>2004-12-30 20:48:29 +0800
commitaa1194edd1afc559af7a2178ee93940826c2b3d5 (patch)
tree559b8201f863851cea747059d6dfe528c11c5105 /security/mhash
parent02d61cb3bd41fe50d45f6b3a350259d7bfda710b (diff)
downloadfreebsd-ports-gnome-aa1194edd1afc559af7a2178ee93940826c2b3d5.tar.gz
freebsd-ports-gnome-aa1194edd1afc559af7a2178ee93940826c2b3d5.tar.zst
freebsd-ports-gnome-aa1194edd1afc559af7a2178ee93940826c2b3d5.zip
Update mhash to version 0.9.1, which provides three new hashes.
Shorten COMMENT at portlint's suggestion. Install a couple of docfiles.
Diffstat (limited to 'security/mhash')
-rw-r--r--security/mhash/Makefile12
-rw-r--r--security/mhash/distinfo4
-rw-r--r--security/mhash/pkg-plist4
3 files changed, 16 insertions, 4 deletions
diff --git a/security/mhash/Makefile b/security/mhash/Makefile
index 610004537ede..900686aa70eb 100644
--- a/security/mhash/Makefile
+++ b/security/mhash/Makefile
@@ -6,13 +6,13 @@
#
PORTNAME= mhash
-PORTVERSION= 0.8.18
+PORTVERSION= 0.9.1
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= roam@FreeBSD.org
-COMMENT= Library provides an easy way to access strong hashes such as MD5 and SHA1
+COMMENT= An easy-to-use library for strong hashes such as MD5 and SHA1
INSTALLS_SHLIB= yes
USE_LIBTOOL_VER=13
@@ -22,4 +22,12 @@ CONFIGURE_ARGS+= --with-LDFLAGS="${PTHREAD_LIBS}" --enable-static \
MAN3= mhash.3
+DOCFILES= example.c md5-rfc1321.txt skid2-authentication
+
+.if !defined(NOPORTDOCS)
+post-install:
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${DOCFILES:S,^,${WRKSRC}/doc/,} ${DOCSDIR}
+.endif
+
.include <bsd.port.mk>
diff --git a/security/mhash/distinfo b/security/mhash/distinfo
index 7d5f85f435b0..4d18f2b39345 100644
--- a/security/mhash/distinfo
+++ b/security/mhash/distinfo
@@ -1,2 +1,2 @@
-MD5 (mhash-0.8.18.tar.gz) = c5fcebff6753a03403cfed3ba8771a56
-SIZE (mhash-0.8.18.tar.gz) = 347483
+MD5 (mhash-0.9.1.tar.gz) = 8ade81ae33ccbf75e096c1baeecfd153
+SIZE (mhash-0.9.1.tar.gz) = 371330
diff --git a/security/mhash/pkg-plist b/security/mhash/pkg-plist
index b979907c0fb4..f4908f660448 100644
--- a/security/mhash/pkg-plist
+++ b/security/mhash/pkg-plist
@@ -2,3 +2,7 @@ include/mhash.h
lib/libmhash.a
lib/libmhash.so
lib/libmhash.so.2
+%%PORTDOCS%%%%DOCSDIR%%/example.c
+%%PORTDOCS%%%%DOCSDIR%%/md5-rfc1321.txt
+%%PORTDOCS%%%%DOCSDIR%%/skid2-authentication
+%%PORTDOCS%%@dirrm %%DOCSDIR%%