aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-medusa/Makefile
blob: b8bdc395321bed354b3cb5731d1080213b1aff5f (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
39
40
# 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

DEPRECATED= Abandoned upstream, last release was in 2005
EXPIRATION_DATE=    2015-10-28

OPTIONS_DEFINE= DOCS EXAMPLES

USES=       python
USE_PYTHON= distutils autoplist

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>