mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
- Covert to PYDISTUTILS_AUTOPLIST
- Stage support - Bump PORTREV
This commit is contained in:
parent
0c7ab27ea5
commit
88cec958c8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341811
@ -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 <bsd.port.mk>
|
||||
|
@ -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%%
|
Loading…
Reference in New Issue
Block a user