View | Details | Raw Unified | Return to bug 169421
Collapse All | Expand All

(-)net/py-medusa/Makefile (-13 / +23 lines)
Lines 7-36 Link Here
7
7
8
PORTNAME=	medusa
8
PORTNAME=	medusa
9
PORTVERSION=	0.5.4
9
PORTVERSION=	0.5.4
10
PORTREVISION=	1
10
CATEGORIES=	net devel python
11
CATEGORIES=	net devel python
11
MASTER_SITES=	http://www.amk.ca/files/python/
12
MASTER_SITES=	CHEESESHOP/source/m/${PORTNAME}
12
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
13
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
14
DIST_SUBDIR=	python
13
15
14
MAINTAINER=	ports@FreeBSD.org
16
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	Asynchronous socket-based server framework for Python
17
COMMENT=	Asynchronous socket-based server framework for Python
16
18
19
OPTIONS_DEFINE=	DOCS EXAMPLES
20
17
USE_PYTHON=	yes
21
USE_PYTHON=	yes
18
USE_PYDISTUTILS=	yes
22
USE_PYDISTUTILS=	yes
19
23
20
DIST_SUBDIR=	python
24
DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
21
DOCFILES=	CHANGES.txt INSTALL.txt LICENSE.txt README.txt TODO.txt
25
EXAMPLESDIR=	${PREFIX}/share/examples/py-${PORTNAME}
22
EXAMPLEDIRS=	demo test thread
26
23
DOCSDIR=	${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
27
PORTDOCS=	*
24
EXAMPLESDIR=	${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
28
PORTEXAMPLES=	*
29
30
.include <bsd.port.options.mk>
25
31
26
.if !defined(NOPORTDOCS)
27
post-install:
32
post-install:
28
	@${MKDIR} ${DOCSDIR}/docs
33
.if ${PORT_OPTIONS:MDOCS}
29
	@cd ${WRKSRC} && ${INSTALL_DATA} ${DOCFILES} ${DOCSDIR}
34
	@${MKDIR} ${DOCSDIR}
30
	@${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}/docs
35
.for doc in CHANGES.txt INSTALL.txt LICENSE.txt README.txt TODO.txt
31
.for exdir in ${EXAMPLEDIRS}
36
	${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
32
	@${MKDIR} ${EXAMPLESDIR}/${exdir}
37
.endfor
33
	@${INSTALL_DATA} ${WRKSRC}/${exdir}/* ${EXAMPLESDIR}/${exdir}
38
	@(cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${DOCSDIR})
39
.endif
40
.if ${PORT_OPTIONS:MEXAMPLES}
41
	@${MKDIR} ${EXAMPLESDIR}
42
.for exdir in demo test thread
43
	@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${exdir} ${EXAMPLESDIR})
34
.endfor
44
.endfor
35
.endif
45
.endif
36
46
(-)net/py-medusa/pkg-descr (-1 / +1 lines)
Lines 5-8 Link Here
5
It is an elegant and efficient solution to a difficult programming
5
It is an elegant and efficient solution to a difficult programming
6
problem.
6
problem.
7
7
8
WWW: http://www.amk.ca/python/code/medusa.html
8
WWW: http://pypi.python.org/pypi/medusa/
(-)net/py-medusa/pkg-plist (-41 lines)
Lines 80-123 Link Here
80
%%PYTHON_SITELIBDIR%%/medusa/xmlrpc_handler.pyc
80
%%PYTHON_SITELIBDIR%%/medusa/xmlrpc_handler.pyc
81
%%PYTHON_SITELIBDIR%%/medusa/xmlrpc_handler.pyo
81
%%PYTHON_SITELIBDIR%%/medusa/xmlrpc_handler.pyo
82
@dirrm %%PYTHON_SITELIBDIR%%/medusa
82
@dirrm %%PYTHON_SITELIBDIR%%/medusa
83
%%PORTDOCS%%%%DOCSDIR%%/CHANGES.txt
84
%%PORTDOCS%%%%DOCSDIR%%/INSTALL.txt
85
%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
86
%%PORTDOCS%%%%DOCSDIR%%/README.txt
87
%%PORTDOCS%%%%DOCSDIR%%/TODO.txt
88
%%PORTDOCS%%%%DOCSDIR%%/docs/README.html
89
%%PORTDOCS%%%%DOCSDIR%%/docs/async_blurbs.txt
90
%%PORTDOCS%%%%DOCSDIR%%/docs/composing_producers.gif
91
%%PORTDOCS%%%%DOCSDIR%%/docs/data_flow.gif
92
%%PORTDOCS%%%%DOCSDIR%%/docs/data_flow.html
93
%%PORTDOCS%%%%DOCSDIR%%/docs/debugging.txt
94
%%PORTDOCS%%%%DOCSDIR%%/docs/producers.gif
95
%%PORTDOCS%%%%DOCSDIR%%/docs/programming.html
96
%%PORTDOCS%%%%DOCSDIR%%/docs/proxy_notes.txt
97
%%PORTDOCS%%%%DOCSDIR%%/docs/threads.txt
98
%%PORTDOCS%%%%DOCSDIR%%/docs/tkinter.txt
99
%%PORTDOCS%%%%EXAMPLESDIR%%/demo/publish.py
100
%%PORTDOCS%%%%EXAMPLESDIR%%/demo/script_server.py
101
%%PORTDOCS%%%%EXAMPLESDIR%%/demo/simple_anon_ftpd.py
102
%%PORTDOCS%%%%EXAMPLESDIR%%/demo/start_medusa.py
103
%%PORTDOCS%%%%EXAMPLESDIR%%/demo/winFTPserver.py
104
%%PORTDOCS%%%%EXAMPLESDIR%%/test/asyn_http_bench.py
105
%%PORTDOCS%%%%EXAMPLESDIR%%/test/bench.py
106
%%PORTDOCS%%%%EXAMPLESDIR%%/test/max_sockets.py
107
%%PORTDOCS%%%%EXAMPLESDIR%%/test/test_11.py
108
%%PORTDOCS%%%%EXAMPLESDIR%%/test/test_lb.py
109
%%PORTDOCS%%%%EXAMPLESDIR%%/test/test_medusa.py
110
%%PORTDOCS%%%%EXAMPLESDIR%%/test/test_producers.py
111
%%PORTDOCS%%%%EXAMPLESDIR%%/test/test_single_11.py
112
%%PORTDOCS%%%%EXAMPLESDIR%%/test/tests.txt
113
%%PORTDOCS%%%%EXAMPLESDIR%%/thread/pi_module.py
114
%%PORTDOCS%%%%EXAMPLESDIR%%/thread/select_trigger.py
115
%%PORTDOCS%%%%EXAMPLESDIR%%/thread/test_module.py
116
%%PORTDOCS%%%%EXAMPLESDIR%%/thread/thread_channel.py
117
%%PORTDOCS%%%%EXAMPLESDIR%%/thread/thread_handler.py
118
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/thread
119
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/test
120
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/demo
121
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
122
%%PORTDOCS%%@dirrm %%DOCSDIR%%/docs
123
%%PORTDOCS%%@dirrm %%DOCSDIR%%

Return to bug 169421