svn commit: r342862 - head/security/py-openssl
Antoine Brodin
antoine at FreeBSD.org
Wed Feb 5 21:30:03 UTC 2014
Author: antoine
Date: Wed Feb 5 21:30:03 2014
New Revision: 342862
URL: http://svnweb.freebsd.org/changeset/ports/342862
QAT: https://qat.redports.org/buildarchive/r342862/
Log:
- Stage support
- Use PYDISTUTILS_AUTOPLIST
Deleted:
head/security/py-openssl/pkg-plist
Modified:
head/security/py-openssl/Makefile
Modified: head/security/py-openssl/Makefile
==============================================================================
--- head/security/py-openssl/Makefile Wed Feb 5 21:28:26 2014 (r342861)
+++ head/security/py-openssl/Makefile Wed Feb 5 21:30:03 2014 (r342862)
@@ -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>
More information about the svn-ports-all
mailing list