From a7ff269849be9c85c584b634d40e776172f32a66 Mon Sep 17 00:00:00 2001 From: antoine Date: Wed, 5 Feb 2014 21:30:03 +0000 Subject: - Stage support - Use PYDISTUTILS_AUTOPLIST --- security/py-openssl/Makefile | 12 +++++------ security/py-openssl/pkg-plist | 47 ------------------------------------------- 2 files changed, 6 insertions(+), 53 deletions(-) delete mode 100644 security/py-openssl/pkg-plist 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 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%% -- cgit