diff options
author | pav <pav@FreeBSD.org> | 2003-11-21 07:29:11 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2003-11-21 07:29:11 +0800 |
commit | aefba1e4a0d91867b3f00dfeaeefdd4c994721dc (patch) | |
tree | b6016b154bfaa8ca36c0ba5b00454e0b5cbea85b /security/py-pow | |
parent | 22edb11e68e24d7aa4d43ce60d3a83953e3a949b (diff) | |
download | freebsd-ports-gnome-aefba1e4a0d91867b3f00dfeaeefdd4c994721dc.tar.gz freebsd-ports-gnome-aefba1e4a0d91867b3f00dfeaeefdd4c994721dc.tar.zst freebsd-ports-gnome-aefba1e4a0d91867b3f00dfeaeefdd4c994721dc.zip |
- Update to 0.7
- Unmark BROKEN
- Use PORTDOCS macro
PR: ports/59528
Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>
Approved by: adamw (mentor)
Diffstat (limited to 'security/py-pow')
-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 |