2013-03-11 07:35:43 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2013/03/11 11:35:55 espie Exp $
|
2008-02-08 20:10:00 -05:00
|
|
|
|
|
|
|
COMMENT= Python framework for async socket-based servers
|
|
|
|
|
|
|
|
DISTNAME= medusa-0.5.4
|
2010-07-12 18:07:37 -04:00
|
|
|
PKGNAME= py-${DISTNAME}
|
2011-09-16 07:13:37 -04:00
|
|
|
REVISION= 4
|
2008-02-08 20:10:00 -05:00
|
|
|
CATEGORIES= net devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.amk.ca/python/code/medusa.html
|
|
|
|
|
|
|
|
MASTER_SITES= http://www.amk.ca/files/python/
|
|
|
|
|
|
|
|
# Python License
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
|
|
|
MODULES= lang/python
|
|
|
|
|
2008-02-10 09:23:05 -05:00
|
|
|
PKG_ARCH= *
|
|
|
|
|
2008-02-08 20:10:00 -05:00
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-medusa
|
|
|
|
EXAMPLEDIRS= demo test thread
|
|
|
|
|
2013-03-11 07:35:43 -04:00
|
|
|
NO_TEST= Yes
|
2008-02-08 20:10:00 -05:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-medusa
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/* ${PREFIX}/share/doc/py-medusa
|
|
|
|
. for i in ${EXAMPLEDIRS}
|
|
|
|
${INSTALL_DATA_DIR} ${EXAMPLESDIR}/${i}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i}/* ${EXAMPLESDIR}/${i}
|
|
|
|
. endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|