aboutsummaryrefslogtreecommitdiff
path: root/security/mhash
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2004-12-30 12:48:29 +0000
committerPeter Pentchev <roam@FreeBSD.org>2004-12-30 12:48:29 +0000
commite2fda7bf22c93ea12240755754c4c6ef5028611b (patch)
tree10ee77040455108ca32e6ec3b7f9f8b10939245e /security/mhash
parenteae4b6d48def089afdd350327c7e5a7a9b610840 (diff)
downloadports-e2fda7bf22c93ea12240755754c4c6ef5028611b.tar.gz
ports-e2fda7bf22c93ea12240755754c4c6ef5028611b.zip
Notes
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%%