aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/py-curl
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2014-07-28 20:54:21 +0800
committersunpoet <sunpoet@FreeBSD.org>2014-07-28 20:54:21 +0800
commit174e62ea7bb03f5a627cc8680b49ae61c7f099fa (patch)
treec053ff1bae4ca0a9fb0fb28f687048f275c7ae9c /ftp/py-curl
parent04dc0a5bc8d19bf214cf8a53f169b475f3b450f6 (diff)
downloadfreebsd-ports-gnome-174e62ea7bb03f5a627cc8680b49ae61c7f099fa.tar.gz
freebsd-ports-gnome-174e62ea7bb03f5a627cc8680b49ae61c7f099fa.tar.zst
freebsd-ports-gnome-174e62ea7bb03f5a627cc8680b49ae61c7f099fa.zip
- Remove out-dated post-patch:
- Strip shared library - Cosmetic change
Diffstat (limited to 'ftp/py-curl')
-rw-r--r--ftp/py-curl/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/ftp/py-curl/Makefile b/ftp/py-curl/Makefile
index 45795c90641b..9d0cfcaa9597 100644
--- a/ftp/py-curl/Makefile
+++ b/ftp/py-curl/Makefile
@@ -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@data_files=@#data_files=t@' \
- ${WRKSRC}/setup.py
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pycurl.so
.include <bsd.port.mk>