diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2014-02-05 21:30:03 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-02-05 21:30:03 +0000 |
commit | 5d706420226c7ce29e088127198068e14c0e2fa6 (patch) | |
tree | 516312cde6cacf742dc096fc8d47ca3025c2f264 /security/py-openssl | |
parent | af721ec96cc4bb83643a3906afa6f9c7dc3706a9 (diff) | |
download | ports-5d706420226c7ce29e088127198068e14c0e2fa6.tar.gz ports-5d706420226c7ce29e088127198068e14c0e2fa6.zip |
Notes
Diffstat (limited to 'security/py-openssl')
-rw-r--r-- | security/py-openssl/Makefile | 12 | ||||
-rw-r--r-- | security/py-openssl/pkg-plist | 47 |
2 files changed, 6 insertions, 53 deletions
diff --git a/security/py-openssl/Makefile b/security/py-openssl/Makefile index f89bad0357e7..c1be8e3f5343 100644 --- a/security/py-openssl/Makefile +++ b/security/py-openssl/Makefile @@ -17,21 +17,21 @@ LICENSE_FILE= ${WRKSRC}/LICENSE USE_PYTHON= yes USE_PYTHON_PREFIX= yes USE_PYDISTUTILS= yes -PYDISTUTILS_PKGNAME= pyOpenSSL +PYDISTUTILS_AUTOPLIST= yes USE_OPENSSL= yes EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} +PORTEXAMPLES= * + +OPTIONS_DEFINE= EXAMPLES -NO_STAGE= yes pre-configure: @${ECHO_CMD} "[build_ext]" >> ${WRKSRC}/setup.cfg @${ECHO_CMD} "include-dirs = ${OPENSSLINC}" >> ${WRKSRC}/setup.cfg @${ECHO_CMD} "library-dirs = ${OPENSSLLIB}" >> ${WRKSRC}/setup.cfg -.if !defined(NOPORTEXAMPLES) post-install: - @${MKDIR} ${EXAMPLESDIR} - (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) -.endif + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include <bsd.port.mk> diff --git a/security/py-openssl/pkg-plist b/security/py-openssl/pkg-plist deleted file mode 100644 index f03485e779a9..000000000000 --- a/security/py-openssl/pkg-plist +++ /dev/null @@ -1,47 +0,0 @@ -%%PYTHON_SITELIBDIR%%/OpenSSL/SSL.so -%%PYTHON_SITELIBDIR%%/OpenSSL/__init__.py -%%PYTHON_SITELIBDIR%%/OpenSSL/__init__.pyc -%%PYTHON_SITELIBDIR%%/OpenSSL/__init__.pyo -%%PYTHON_SITELIBDIR%%/OpenSSL/crypto.so -%%PYTHON_SITELIBDIR%%/OpenSSL/rand.so -%%PYTHON_SITELIBDIR%%/OpenSSL/test/__init__.py -%%PYTHON_SITELIBDIR%%/OpenSSL/test/__init__.pyc -%%PYTHON_SITELIBDIR%%/OpenSSL/test/__init__.pyo -%%PYTHON_SITELIBDIR%%/OpenSSL/test/test_crypto.py -%%PYTHON_SITELIBDIR%%/OpenSSL/test/test_crypto.pyc -%%PYTHON_SITELIBDIR%%/OpenSSL/test/test_crypto.pyo -%%PYTHON_SITELIBDIR%%/OpenSSL/test/test_rand.py -%%PYTHON_SITELIBDIR%%/OpenSSL/test/test_rand.pyc -%%PYTHON_SITELIBDIR%%/OpenSSL/test/test_rand.pyo -%%PYTHON_SITELIBDIR%%/OpenSSL/test/test_ssl.py -%%PYTHON_SITELIBDIR%%/OpenSSL/test/test_ssl.pyc -%%PYTHON_SITELIBDIR%%/OpenSSL/test/test_ssl.pyo -%%PYTHON_SITELIBDIR%%/OpenSSL/test/util.py -%%PYTHON_SITELIBDIR%%/OpenSSL/test/util.pyo -%%PYTHON_SITELIBDIR%%/OpenSSL/test/util.pyc -%%PYTHON_SITELIBDIR%%/OpenSSL/tsafe.py -%%PYTHON_SITELIBDIR%%/OpenSSL/tsafe.pyc -%%PYTHON_SITELIBDIR%%/OpenSSL/tsafe.pyo -%%PYTHON_SITELIBDIR%%/OpenSSL/version.py -%%PYTHON_SITELIBDIR%%/OpenSSL/version.pyc -%%PYTHON_SITELIBDIR%%/OpenSSL/version.pyo -@dirrm %%PYTHON_SITELIBDIR%%/OpenSSL/test -@dirrm %%PYTHON_SITELIBDIR%%/OpenSSL -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple/README -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple/client.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple/server.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sni/README -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sni/another.invalid.crt -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sni/another.invalid.key -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sni/client.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sni/example.invalid.crt -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sni/example.invalid.key -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sni/server.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/SecureXMLRPCServer.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/certgen.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mk_simple_certs.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/proxy.py -%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/sni -%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/simple -%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% |