summaryrefslogtreecommitdiff
path: root/security/py-mhash
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-02-10 19:29:58 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-02-10 19:29:58 +0000
commitfcb91f804e46baa475423e9c5954201a88675168 (patch)
tree3ede5b6742d4f6c773188dd3fc27947a97d13955 /security/py-mhash
parentUpdate to 1.0.4. This version can accept several input files or (diff)
add py-mhash 1.0
Python mhash module
Notes
Notes: svn path=/head/; revision=54494
Diffstat (limited to 'security/py-mhash')
-rw-r--r--security/py-mhash/Makefile32
-rw-r--r--security/py-mhash/distinfo1
-rw-r--r--security/py-mhash/pkg-comment1
-rw-r--r--security/py-mhash/pkg-descr5
-rw-r--r--security/py-mhash/pkg-plist1
5 files changed, 40 insertions, 0 deletions
diff --git a/security/py-mhash/Makefile b/security/py-mhash/Makefile
new file mode 100644
index 000000000000..fc15080a1826
--- /dev/null
+++ b/security/py-mhash/Makefile
@@ -0,0 +1,32 @@
+# ex:ts=8
+# Ports collection makefile for: py-mhash
+# Date created: Feb 10, 2002
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= mhash
+PORTVERSION= 1.0
+CATEGORIES= security python
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= mhash
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= python-mhash-${PORTVERSION}
+
+MAINTAINER= ports@FreeBSD.org
+
+LIB_DEPENDS= mhash:${PORTSDIR}/security/mhash
+
+USE_PYTHON= yes
+CFLAGS+= -I${LOCALBASE}/include
+
+SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
+
+do-build:
+ @${SETUP_CMD} build_ext -L${LOCALBASE}/lib
+
+do-install:
+ @${SETUP_CMD} install
+
+.include <bsd.port.mk>
diff --git a/security/py-mhash/distinfo b/security/py-mhash/distinfo
new file mode 100644
index 000000000000..e960d1aafe3e
--- /dev/null
+++ b/security/py-mhash/distinfo
@@ -0,0 +1 @@
+MD5 (python-mhash-1.0.tar.gz) = 7af6c11ca2f6451c5e529e5ff366446c
diff --git a/security/py-mhash/pkg-comment b/security/py-mhash/pkg-comment
new file mode 100644
index 000000000000..48c96677e1dc
--- /dev/null
+++ b/security/py-mhash/pkg-comment
@@ -0,0 +1 @@
+Python mhash module
diff --git a/security/py-mhash/pkg-descr b/security/py-mhash/pkg-descr
new file mode 100644
index 000000000000..1af117e3c64d
--- /dev/null
+++ b/security/py-mhash/pkg-descr
@@ -0,0 +1,5 @@
+The python mhash module provides an interface for the mhash library.
+The mhash library provides an easy way to access strong hashes such as
+MD5, SHA1 and other algorithms.
+
+WWW: http://mhash.sourceforge.net/
diff --git a/security/py-mhash/pkg-plist b/security/py-mhash/pkg-plist
new file mode 100644
index 000000000000..9546f4543bec
--- /dev/null
+++ b/security/py-mhash/pkg-plist
@@ -0,0 +1 @@
+lib/%%PYTHON_VERSION%%/site-packages/mhash.so