freebsd-ports/net/py-medusa/Makefile

38 lines
1,001 B
Makefile
Raw Normal View History

# New ports collection makefile for: py-medusa
# Date created: 27 March 2002
# Whom: Hye-Shik Chang <perky@fallin.lv>
#
# $FreeBSD$
#
PORTNAME= medusa
2003-09-27 18:47:09 +02:00
PORTVERSION= 0.5.4
CATEGORIES= net devel python
MASTER_SITES= http://www.amk.ca/files/python/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= perky@FreeBSD.org
2003-02-25 07:25:35 +01:00
COMMENT= Asynchronous socket-based server framework for Python
USE_PYTHON= yes
2002-04-29 20:37:38 +02:00
USE_PYDISTUTILS= yes
DIST_SUBDIR= python
DOCFILES= CHANGES.txt INSTALL.txt LICENSE.txt README.txt TODO.txt
EXAMPLEDIRS= demo test thread
2003-09-27 18:47:09 +02:00
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
.if !defined(NOPORTDOCS)
2002-04-29 20:37:38 +02:00
post-install:
@${MKDIR} ${DOCSDIR}/docs
@cd ${WRKSRC} && ${INSTALL_DATA} ${DOCFILES} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}/docs
.for exdir in ${EXAMPLEDIRS}
@${MKDIR} ${EXAMPLESDIR}/${exdir}
@${INSTALL_DATA} ${WRKSRC}/${exdir}/* ${EXAMPLESDIR}/${exdir}
.endfor
.endif
.include <bsd.port.mk>