590e9fcf81
for Python PR: 36420 Submitted by: Hye-Shik Chang <perky@fallin.lv>
40 lines
987 B
Makefile
40 lines
987 B
Makefile
# New ports collection makefile for: py-medusa
|
|
# Date created: 27 March 2002
|
|
# Whom: Hye-Shik Chang <perky@fallin.lv>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= medusa
|
|
PORTVERSION= 0.5.1
|
|
CATEGORIES= net devel python
|
|
MASTER_SITES= http://www.amk.ca/files/python/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= perky@fallin.lv
|
|
|
|
USE_PYTHON= yes
|
|
|
|
DOCFILES= CHANGES.txt INSTALL.txt LICENSE.txt README.txt TODO.txt
|
|
EXAMPLEDIRS= demo test thread
|
|
DOCSDIR= ${PREFIX}/share/doc/py-medusa
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-medusa
|
|
SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py
|
|
|
|
do-build:
|
|
${SETUP_CMD} build
|
|
|
|
do-install:
|
|
@${SETUP_CMD} install -c -O1 --prefix=${PREFIX}
|
|
.if !defined(NOPORTDOCS)
|
|
@${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>
|