aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/py-medusa/Makefile18
-rw-r--r--net/py-medusa/pkg-plist82
2 files changed, 6 insertions, 94 deletions
diff --git a/net/py-medusa/Makefile b/net/py-medusa/Makefile
index ec09b55017ae..d71294d4b522 100644
--- a/net/py-medusa/Makefile
+++ b/net/py-medusa/Makefile
@@ -16,6 +16,7 @@ OPTIONS_DEFINE= DOCS EXAMPLES
USE_PYTHON= yes
USE_PYDISTUTILS= yes
+PYDISTUTILS_AUTOPLIST= yes
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
@@ -23,22 +24,15 @@ EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
PORTDOCS= *
PORTEXAMPLES= *
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in CHANGES.txt INSTALL.txt LICENSE.txt README.txt TODO.txt
- ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
- @(cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${DOCSDIR})
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
- @${MKDIR} ${EXAMPLESDIR}
+ @(cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${DOCSDIR})
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for exdir in demo test thread
- @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${exdir} ${EXAMPLESDIR})
+ @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${exdir} ${STAGEDIR}${EXAMPLESDIR})
.endfor
-.endif
.include <bsd.port.mk>
diff --git a/net/py-medusa/pkg-plist b/net/py-medusa/pkg-plist
deleted file mode 100644
index 619f4ad026d6..000000000000
--- a/net/py-medusa/pkg-plist
+++ /dev/null
@@ -1,82 +0,0 @@
-%%PYTHON_SITELIBDIR%%/medusa/__init__.py
-%%PYTHON_SITELIBDIR%%/medusa/__init__.pyc
-%%PYTHON_SITELIBDIR%%/medusa/__init__.pyo
-%%PYTHON_SITELIBDIR%%/medusa/auth_handler.py
-%%PYTHON_SITELIBDIR%%/medusa/auth_handler.pyc
-%%PYTHON_SITELIBDIR%%/medusa/auth_handler.pyo
-%%PYTHON_SITELIBDIR%%/medusa/chat_server.py
-%%PYTHON_SITELIBDIR%%/medusa/chat_server.pyc
-%%PYTHON_SITELIBDIR%%/medusa/chat_server.pyo
-%%PYTHON_SITELIBDIR%%/medusa/counter.py
-%%PYTHON_SITELIBDIR%%/medusa/counter.pyc
-%%PYTHON_SITELIBDIR%%/medusa/counter.pyo
-%%PYTHON_SITELIBDIR%%/medusa/default_handler.py
-%%PYTHON_SITELIBDIR%%/medusa/default_handler.pyc
-%%PYTHON_SITELIBDIR%%/medusa/default_handler.pyo
-%%PYTHON_SITELIBDIR%%/medusa/event_loop.py
-%%PYTHON_SITELIBDIR%%/medusa/event_loop.pyc
-%%PYTHON_SITELIBDIR%%/medusa/event_loop.pyo
-%%PYTHON_SITELIBDIR%%/medusa/filesys.py
-%%PYTHON_SITELIBDIR%%/medusa/filesys.pyc
-%%PYTHON_SITELIBDIR%%/medusa/filesys.pyo
-%%PYTHON_SITELIBDIR%%/medusa/ftp_server.py
-%%PYTHON_SITELIBDIR%%/medusa/ftp_server.pyc
-%%PYTHON_SITELIBDIR%%/medusa/ftp_server.pyo
-%%PYTHON_SITELIBDIR%%/medusa/http_date.py
-%%PYTHON_SITELIBDIR%%/medusa/http_date.pyc
-%%PYTHON_SITELIBDIR%%/medusa/http_date.pyo
-%%PYTHON_SITELIBDIR%%/medusa/http_server.py
-%%PYTHON_SITELIBDIR%%/medusa/http_server.pyc
-%%PYTHON_SITELIBDIR%%/medusa/http_server.pyo
-%%PYTHON_SITELIBDIR%%/medusa/logger.py
-%%PYTHON_SITELIBDIR%%/medusa/logger.pyc
-%%PYTHON_SITELIBDIR%%/medusa/logger.pyo
-%%PYTHON_SITELIBDIR%%/medusa/m_syslog.py
-%%PYTHON_SITELIBDIR%%/medusa/m_syslog.pyc
-%%PYTHON_SITELIBDIR%%/medusa/m_syslog.pyo
-%%PYTHON_SITELIBDIR%%/medusa/medusa_gif.py
-%%PYTHON_SITELIBDIR%%/medusa/medusa_gif.pyc
-%%PYTHON_SITELIBDIR%%/medusa/medusa_gif.pyo
-%%PYTHON_SITELIBDIR%%/medusa/monitor.py
-%%PYTHON_SITELIBDIR%%/medusa/monitor.pyc
-%%PYTHON_SITELIBDIR%%/medusa/monitor.pyo
-%%PYTHON_SITELIBDIR%%/medusa/monitor_client.py
-%%PYTHON_SITELIBDIR%%/medusa/monitor_client.pyc
-%%PYTHON_SITELIBDIR%%/medusa/monitor_client.pyo
-%%PYTHON_SITELIBDIR%%/medusa/monitor_client_win32.py
-%%PYTHON_SITELIBDIR%%/medusa/monitor_client_win32.pyc
-%%PYTHON_SITELIBDIR%%/medusa/monitor_client_win32.pyo
-%%PYTHON_SITELIBDIR%%/medusa/producers.py
-%%PYTHON_SITELIBDIR%%/medusa/producers.pyc
-%%PYTHON_SITELIBDIR%%/medusa/producers.pyo
-%%PYTHON_SITELIBDIR%%/medusa/put_handler.py
-%%PYTHON_SITELIBDIR%%/medusa/put_handler.pyc
-%%PYTHON_SITELIBDIR%%/medusa/put_handler.pyo
-%%PYTHON_SITELIBDIR%%/medusa/redirecting_handler.py
-%%PYTHON_SITELIBDIR%%/medusa/redirecting_handler.pyc
-%%PYTHON_SITELIBDIR%%/medusa/redirecting_handler.pyo
-%%PYTHON_SITELIBDIR%%/medusa/resolver.py
-%%PYTHON_SITELIBDIR%%/medusa/resolver.pyc
-%%PYTHON_SITELIBDIR%%/medusa/resolver.pyo
-%%PYTHON_SITELIBDIR%%/medusa/rpc_client.py
-%%PYTHON_SITELIBDIR%%/medusa/rpc_client.pyc
-%%PYTHON_SITELIBDIR%%/medusa/rpc_client.pyo
-%%PYTHON_SITELIBDIR%%/medusa/rpc_server.py
-%%PYTHON_SITELIBDIR%%/medusa/rpc_server.pyc
-%%PYTHON_SITELIBDIR%%/medusa/rpc_server.pyo
-%%PYTHON_SITELIBDIR%%/medusa/script_handler.py
-%%PYTHON_SITELIBDIR%%/medusa/script_handler.pyc
-%%PYTHON_SITELIBDIR%%/medusa/script_handler.pyo
-%%PYTHON_SITELIBDIR%%/medusa/status_handler.py
-%%PYTHON_SITELIBDIR%%/medusa/status_handler.pyc
-%%PYTHON_SITELIBDIR%%/medusa/status_handler.pyo
-%%PYTHON_SITELIBDIR%%/medusa/unix_user_handler.py
-%%PYTHON_SITELIBDIR%%/medusa/unix_user_handler.pyc
-%%PYTHON_SITELIBDIR%%/medusa/unix_user_handler.pyo
-%%PYTHON_SITELIBDIR%%/medusa/virtual_handler.py
-%%PYTHON_SITELIBDIR%%/medusa/virtual_handler.pyc
-%%PYTHON_SITELIBDIR%%/medusa/virtual_handler.pyo
-%%PYTHON_SITELIBDIR%%/medusa/xmlrpc_handler.py
-%%PYTHON_SITELIBDIR%%/medusa/xmlrpc_handler.pyc
-%%PYTHON_SITELIBDIR%%/medusa/xmlrpc_handler.pyo
-@dirrm %%PYTHON_SITELIBDIR%%/medusa