svn commit: r363138 - head/ftp/py-curl
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Jul 28 12:54:21 UTC 2014
Author: sunpoet
Date: Mon Jul 28 12:54:21 2014
New Revision: 363138
URL: http://svnweb.freebsd.org/changeset/ports/363138
QAT: https://qat.redports.org/buildarchive/r363138/
Log:
- Remove out-dated post-patch:
- Strip shared library
- Cosmetic change
Modified:
head/ftp/py-curl/Makefile
Modified: head/ftp/py-curl/Makefile
==============================================================================
--- head/ftp/py-curl/Makefile Mon Jul 28 12:41:48 2014 (r363137)
+++ head/ftp/py-curl/Makefile Mon Jul 28 12:54:21 2014 (r363138)
@@ -18,17 +18,15 @@ LICENSE_COMB= dual
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
+PYDISTUTILS_AUTOPLIST= yes
+USE_PYDISTUTILS=yes
+USE_PYTHON= yes
+
+DATADIR= ${PREFIX}/share/py-curl
DOCSDIR= ${PREFIX}/share/doc/py-curl
EXAMPLESDIR= ${PREFIX}/share/examples/py-curl
-DATADIR= ${PREFIX}/share/py-curl
-
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
-post-patch:
- ${REINPLACE_CMD} \
- -e 's at data_files=@#data_files=t@' \
- ${WRKSRC}/setup.py
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pycurl.so
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list