diff options
author | antoine <antoine@FreeBSD.org> | 2014-02-06 05:30:03 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2014-02-06 05:30:03 +0800 |
commit | a7ff269849be9c85c584b634d40e776172f32a66 (patch) | |
tree | 516312cde6cacf742dc096fc8d47ca3025c2f264 | |
parent | 39f0d97532a477f79d12d81e8535e1e4f2912f9f (diff) | |
download | freebsd-ports-gnome-a7ff269849be9c85c584b634d40e776172f32a66.tar.gz freebsd-ports-gnome-a7ff269849be9c85c584b634d40e776172f32a66.tar.zst freebsd-ports-gnome-a7ff269849be9c85c584b634d40e776172f32a66.zip |
- Stage support
- Use PYDISTUTILS_AUTOPLIST
-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%% |