diff options
-rw-r--r-- | security/py-pow/Makefile | 16 | ||||
-rw-r--r-- | security/py-pow/distinfo | 2 | ||||
-rw-r--r-- | security/py-pow/files/patch-POW.c | 11 | ||||
-rw-r--r-- | security/py-pow/pkg-plist | 23 |
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 |