From 88cec958c8516b95851af87edfd8c766ca68389c Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Thu, 30 Jan 2014 08:28:25 +0000 Subject: [PATCH] - Covert to PYDISTUTILS_AUTOPLIST - Stage support - Bump PORTREV --- ftp/py-curl/Makefile | 24 ++------------------ ftp/py-curl/pkg-plist | 52 ------------------------------------------- 2 files changed, 2 insertions(+), 74 deletions(-) delete mode 100644 ftp/py-curl/pkg-plist diff --git a/ftp/py-curl/Makefile b/ftp/py-curl/Makefile index 6cae29d1ff2e..910a2f7a24f2 100644 --- a/ftp/py-curl/Makefile +++ b/ftp/py-curl/Makefile @@ -3,7 +3,7 @@ PORTNAME= curl PORTVERSION= 7.19.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= ftp python MASTER_SITES= http://pycurl.sourceforge.net/download/ \ http://pycurl.sourceforge.net/download/00-OLD-VERSIONS/ @@ -22,31 +22,11 @@ DATADIR= ${PREFIX}/share/py-curl USE_PYTHON= yes USE_PYDISTUTILS= yes PYDISTUTILS_PKGNAME= pycurl -USE_OPENSSL= yes +PYDISTUTILS_AUTOPLIST= yes -NO_STAGE= yes post-patch: ${REINPLACE_CMD} \ -e 's@data_files=@#data_files=t@' \ ${WRKSRC}/setup.py -post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} -.for i in ChangeLog COPYING COPYING2 INSTALL README TODO - ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} -.endfor - ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR} -.endif - -.if !defined(NOPORTEXAMPLES) - ${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} -.endif - -.if !defined(NOPORDATA) - ${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/tests/* ${DATADIR} -.endif - .include diff --git a/ftp/py-curl/pkg-plist b/ftp/py-curl/pkg-plist deleted file mode 100644 index c106bca1f5c1..000000000000 --- a/ftp/py-curl/pkg-plist +++ /dev/null @@ -1,52 +0,0 @@ -%%PYTHON_SITELIBDIR%%/curl/__init__.py -%%PYTHON_SITELIBDIR%%/curl/__init__.pyc -%%PYTHON_SITELIBDIR%%/curl/__init__.pyo -%%PYTHON_SITELIBDIR%%/pycurl.so -@dirrm %%PYTHON_SITELIBDIR%%/curl -%%PORTDOCS%%%%DOCSDIR%%/COPYING -%%PORTDOCS%%%%DOCSDIR%%/COPYING2 -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog -%%PORTDOCS%%%%DOCSDIR%%/INSTALL -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/TODO -%%PORTDOCS%%%%DOCSDIR%%/callbacks.html -%%PORTDOCS%%%%DOCSDIR%%/curlmultiobject.html -%%PORTDOCS%%%%DOCSDIR%%/curlobject.html -%%PORTDOCS%%%%DOCSDIR%%/curlshareobject.html -%%PORTDOCS%%%%DOCSDIR%%/pycurl.html -%%DATADIR%%/test.py -%%DATADIR%%/test_cb.py -%%DATADIR%%/test_debug.py -%%DATADIR%%/test_ftp.py -%%DATADIR%%/test_getinfo.py -%%DATADIR%%/test_gtk.py -%%DATADIR%%/test_internals.py -%%DATADIR%%/test_memleak.py -%%DATADIR%%/test_multi.py -%%DATADIR%%/test_multi2.py -%%DATADIR%%/test_multi3.py -%%DATADIR%%/test_multi4.py -%%DATADIR%%/test_multi5.py -%%DATADIR%%/test_multi6.py -%%DATADIR%%/test_multi_socket.py -%%DATADIR%%/test_multi_timer.py -%%DATADIR%%/test_multi_vs_thread.py -%%DATADIR%%/test_multi_socket_select.py -%%DATADIR%%/test_socketopen.py -%%DATADIR%%/test_post.py -%%DATADIR%%/test_post2.py -%%DATADIR%%/test_post3.py -%%DATADIR%%/test_share.py -%%DATADIR%%/test_stringio.py -%%DATADIR%%/test_xmlrpc.py -%%DATADIR%%/util.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/basicfirst.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/file_upload.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/linksys.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/retriever-multi.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/retriever.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sfquery.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/xmlrpc_curl.py -%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/ -@dirrm %%DATADIR%% -%%PORTDOCS%%@dirrm %%DOCSDIR%%