aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2003-11-20 23:29:11 +0000
committerPav Lucistnik <pav@FreeBSD.org>2003-11-20 23:29:11 +0000
commitcf07471739edd382424c73dc4e7fc0f7bb4ac56f (patch)
tree6e208e865d3823ae8728d4317e351032c7bb1afd /security
parenta37a08be8a024cc9fddf11eeb7fde975e02a7759 (diff)
downloadports-cf07471739edd382424c73dc4e7fc0f7bb4ac56f.tar.gz
ports-cf07471739edd382424c73dc4e7fc0f7bb4ac56f.zip
Notes
Diffstat (limited to 'security')
-rw-r--r--security/py-pow/Makefile16
-rw-r--r--security/py-pow/distinfo2
-rw-r--r--security/py-pow/files/patch-POW.c11
-rw-r--r--security/py-pow/pkg-plist23
4 files changed, 28 insertions, 24 deletions
diff --git a/security/py-pow/Makefile b/security/py-pow/Makefile
index ffff8d40111d..0c4d24de81c5 100644
--- a/security/py-pow/Makefile
+++ b/security/py-pow/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= pow
-PORTVERSION= 0.6.1
+PORTVERSION= 0.7
CATEGORIES= security python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -21,16 +21,14 @@ USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_OPENSSL= yes
-.include <bsd.port.pre.mk>
+PORTDOCS= POW.pdf
-.if ${OSVERSION} >= 501000
-BROKEN= "Does not compile"
-.endif
-
-.if !defined(NOPORTDOCS)
post-install:
+.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/POW.pdf ${DOCSDIR}
+.for i in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/docs/${i} ${DOCSDIR}
+.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/security/py-pow/distinfo b/security/py-pow/distinfo
index ff2a74b43c2d..1b1ba9580b3a 100644
--- a/security/py-pow/distinfo
+++ b/security/py-pow/distinfo
@@ -1 +1 @@
-MD5 (POW-0.6.1.tar.gz) = a1093b7b8c105869e0538fd4b8bb2228
+MD5 (POW-0.7.tar.gz) = e2d83a9f564cfd0ea1e1aa6488a05247
diff --git a/security/py-pow/files/patch-POW.c b/security/py-pow/files/patch-POW.c
deleted file mode 100644
index 1997ea330c77..000000000000
--- a/security/py-pow/files/patch-POW.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- POW.c.orig Mon Feb 11 22:12:50 2002
-+++ POW.c Mon Feb 11 22:13:01 2002
-@@ -34,7 +34,7 @@
- /* */
- /*****************************************************************************/
-
--#include <python2.1/Python.h>
-+#include <Python.h>
-
- #include <openssl/crypto.h>
- #include <openssl/rand.h>
diff --git a/security/py-pow/pkg-plist b/security/py-pow/pkg-plist
index 25887588a89c..ea8ecf7aba4c 100644
--- a/security/py-pow/pkg-plist
+++ b/security/py-pow/pkg-plist
@@ -1,3 +1,20 @@
-lib/%%PYTHON_VERSION%%/site-packages/POW.so
-%%PORTDOCS%%share/doc/pow/POW.pdf
-%%PORTDOCS%%@dirrm share/doc/pow
+%%PYTHON_SITELIBDIR%%/POW/__init__.py
+%%PYTHON_SITELIBDIR%%/POW/_der.py
+%%PYTHON_SITELIBDIR%%/POW/_objects.py
+%%PYTHON_SITELIBDIR%%/POW/_oids.py
+%%PYTHON_SITELIBDIR%%/POW/_simpledb.py
+%%PYTHON_SITELIBDIR%%/POW/pkix.py
+%%PYTHON_SITELIBDIR%%/POW/_POW.so
+%%PYTHON_SITELIBDIR%%/POW/__init__.pyc
+%%PYTHON_SITELIBDIR%%/POW/_der.pyc
+%%PYTHON_SITELIBDIR%%/POW/_objects.pyc
+%%PYTHON_SITELIBDIR%%/POW/_oids.pyc
+%%PYTHON_SITELIBDIR%%/POW/_simpledb.pyc
+%%PYTHON_SITELIBDIR%%/POW/pkix.pyc
+%%PYTHON_SITELIBDIR%%/POW/__init__.pyo
+%%PYTHON_SITELIBDIR%%/POW/_der.pyo
+%%PYTHON_SITELIBDIR%%/POW/_objects.pyo
+%%PYTHON_SITELIBDIR%%/POW/_oids.pyo
+%%PYTHON_SITELIBDIR%%/POW/_simpledb.pyo
+%%PYTHON_SITELIBDIR%%/POW/pkix.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/POW