diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-07-07 13:27:23 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-07-07 13:27:23 +0000 |
commit | e7397044357c255d64d33c3f8137a387940c96eb (patch) | |
tree | e2a637f34a96d1ae332118f0339cf3f2f040a766 /devel/py-coro/Makefile | |
parent | c0b1935022cf3bda43192bda8a23b59847c00f54 (diff) | |
download | FreeBSD-ports-e7397044357c255d64d33c3f8137a387940c96eb.zip FreeBSD-ports-e7397044357c255d64d33c3f8137a387940c96eb.tar.gz |
Add py-coro - a Python coroutines module.
PR: 19466
Submitted by: Kelly Yancey <kbyanc@posi.net>
Diffstat (limited to 'devel/py-coro/Makefile')
-rw-r--r-- | devel/py-coro/Makefile | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/devel/py-coro/Makefile b/devel/py-coro/Makefile new file mode 100644 index 0000000..f1f2af4 --- /dev/null +++ b/devel/py-coro/Makefile @@ -0,0 +1,54 @@ +# Ports collection Makefile for: py-coro +# Date created: 06/22/2000 +# Whom: kbyanc@posi.net +# +# $FreeBSD$ +# + +PORTNAME= coro +PORTVERSION= 20000424 +CATEGORIES= devel python +MASTER_SITES= http://www.egroups.com/files/python-coro/egroups/ +PKGNAMEPREFIX= py- +DISTNAME= egp-coro-20000424 + +MAINTAINER= kbyanc@posi.net + +BUILD_DEPENDS= ${LOCALBASE}/lib/libcoro.a:${PORTSDIR}/devel/libcoro \ + python:${PORTSDIR}/lang/python +RUN_DEPENDS= python:${PORTSDIR}/lang/python + +CORO_MODULES= coroutinemodule.so sendfilemodule.so +CORO_PACKAGE= coro corodns coromysql corourl \ + coutil +CORO_EXAMPLES= backdoor potato newpotato fringe \ + coro_ehttpd crawler fifo +CORO_DOCS= README coro.txt + +post-build: + @${LOCALBASE}/bin/python \ + ${LOCALBASE}/lib/python1.5/compileall.py ${WRKSRC} + +do-install: + ${MKDIR} ${PREFIX}/lib/python1.5/site-packages + ${MKDIR} ${PREFIX}/lib/python1.5/site-packages/coro + ${MKDIR} ${PREFIX}/share/examples/py-coro +.for i in ${CORO_MODULES} + ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/lib/python1.5/site-packages +.endfor +.for i in ${CORO_PACKAGE} + ${INSTALL_DATA} ${WRKSRC}/${i}.py ${WRKSRC}/$i.pyc \ + ${PREFIX}/lib/python1.5/site-packages/coro +.endfor +.for i in ${CORO_EXAMPLES} + ${INSTALL_DATA} ${WRKSRC}/${i}.py ${WRKSRC}/$i.pyc \ + ${PREFIX}/share/examples/py-coro +.endfor +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/py-coro +.for i in ${CORO_DOCS} + ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/py-coro +.endfor +.endif + +.include <bsd.port.mk> |