aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-07-21 12:22:10 +0800
committerijliao <ijliao@FreeBSD.org>2002-07-21 12:22:10 +0800
commitdd16cce404a9400c821ca08687dbcbbee414b18a (patch)
tree256d3cdb39361c6a686480e9ba7783cce327c9b6 /security
parent0b43d2da66c179056b3581e726aab2a9e01b014f (diff)
downloadfreebsd-ports-gnome-dd16cce404a9400c821ca08687dbcbbee414b18a.tar.gz
freebsd-ports-gnome-dd16cce404a9400c821ca08687dbcbbee414b18a.tar.zst
freebsd-ports-gnome-dd16cce404a9400c821ca08687dbcbbee414b18a.zip
add py-mcrypt 1.0
A comprehensive Python interface to the mcrypt library
Diffstat (limited to 'security')
-rw-r--r--security/Makefile1
-rw-r--r--security/py-mcrypt/Makefile29
-rw-r--r--security/py-mcrypt/distinfo1
-rw-r--r--security/py-mcrypt/pkg-comment1
-rw-r--r--security/py-mcrypt/pkg-descr2
-rw-r--r--security/py-mcrypt/pkg-plist1
6 files changed, 35 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index ccee57b87621..8ae47ee75768 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -208,6 +208,7 @@
SUBDIR += py-fchksum
SUBDIR += py-gnupg
SUBDIR += py-m2crypto
+ SUBDIR += py-mcrypt
SUBDIR += py-mhash
SUBDIR += py-openssl
SUBDIR += py-pow
diff --git a/security/py-mcrypt/Makefile b/security/py-mcrypt/Makefile
new file mode 100644
index 000000000000..07a3d2672cc8
--- /dev/null
+++ b/security/py-mcrypt/Makefile
@@ -0,0 +1,29 @@
+# ex:ts=8
+# Ports collection makefile for: py-mcrypt
+# Date created: Jul 21, 2002
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= mcrypt
+PORTVERSION= 1.0
+CATEGORIES= security python
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= python-mcrypt
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= python-mcrypt-${PORTVERSION}
+
+MAINTAINER= ports@FreeBSD.org
+
+LIB_DEPENDS= mcrypt:${PORTSDIR}/security/libmcrypt
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+PYDISTUTILS_BUILDARGS= -L${LOCALBASE}/lib
+CFLAGS+= -I${LOCALBASE}/include
+
+do-build:
+ @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} build_ext ${PYDISTUTILS_BUILDARGS})
+
+.include <bsd.port.mk>
diff --git a/security/py-mcrypt/distinfo b/security/py-mcrypt/distinfo
new file mode 100644
index 000000000000..9c69ec481a01
--- /dev/null
+++ b/security/py-mcrypt/distinfo
@@ -0,0 +1 @@
+MD5 (python-mcrypt-1.0.tar.gz) = c938c7943921c66efd0f4b6f6fb5c7ac
diff --git a/security/py-mcrypt/pkg-comment b/security/py-mcrypt/pkg-comment
new file mode 100644
index 000000000000..fbd287771488
--- /dev/null
+++ b/security/py-mcrypt/pkg-comment
@@ -0,0 +1 @@
+A comprehensive Python interface to the mcrypt library
diff --git a/security/py-mcrypt/pkg-descr b/security/py-mcrypt/pkg-descr
new file mode 100644
index 000000000000..8a55224797f4
--- /dev/null
+++ b/security/py-mcrypt/pkg-descr
@@ -0,0 +1,2 @@
+Python-mcrypt is a comprehensive Python interface to the mcrypt library,
+which provides a uniform interface to several symmetric encryption algorithms.
diff --git a/security/py-mcrypt/pkg-plist b/security/py-mcrypt/pkg-plist
new file mode 100644
index 000000000000..0366bc1892b2
--- /dev/null
+++ b/security/py-mcrypt/pkg-plist
@@ -0,0 +1 @@
+lib/%%PYTHON_VERSION%%/site-packages/mcrypt.so