blob: d71294d4b522dbac870b3a3a6ea5ad61cacb3cf6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Created by: Hye-Shik Chang <perky@fallin.lv>
# $FreeBSD$
PORTNAME= medusa
PORTVERSION= 0.5.4
PORTREVISION= 1
CATEGORIES= net devel python
MASTER_SITES= CHEESESHOP/source/m/${PORTNAME}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DIST_SUBDIR= python
MAINTAINER= ports@FreeBSD.org
COMMENT= Asynchronous socket-based server framework for Python
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}
PORTDOCS= *
PORTEXAMPLES= *
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in CHANGES.txt INSTALL.txt LICENSE.txt README.txt TODO.txt
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
@(cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${DOCSDIR})
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for exdir in demo test thread
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${exdir} ${STAGEDIR}${EXAMPLESDIR})
.endfor
.include <bsd.port.mk>
|