summaryrefslogtreecommitdiffstats
path: root/net/py-medusa/Makefile
blob: 8682b3eeb89223436609d015e98be21fa94794e5 (plain)
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
# 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.3
CATEGORIES=	net devel python
MASTER_SITES=	http://www.amk.ca/files/python/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	perky@FreeBSD.org

USE_PYTHON=	yes
USE_PYDISTUTILS=	yes

DIST_SUBDIR=	python
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

.if !defined(NOPORTDOCS)
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>
OpenPOWER on IntegriCloud