aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-funkload/Makefile
blob: 0561de433d67a40356cc598bcd2f66a6899e260a (plain) (blame)
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
37
38
39
40
# New ports collection makefile for:    py-funkload
# Date created:     Mar. 03, 2007
# Whom:         Li-Wen Hsu <lwhsu@lwhsu.org>
#
# $FreeBSD$
#

PORTNAME=   funkload
PORTVERSION=    1.9.0
CATEGORIES= www python
MASTER_SITES=   http://funkload.nuxeo.org/ \
        CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= lwhsu@FreeBSD.org
COMMENT=    FunkLoad is a functional and load web tester

RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/docutils/__init__.py:${PORTSDIR}/textproc/py-docutils \
        ${LOCALBASE}/bin/gnuplot:${PORTSDIR}/math/gnuplot \
        ${PYTHON_PKGNAMEPREFIX}webunit>=1.3.8:${PORTSDIR}/www/py-webunit \
        ${PYXML} \
        tcpwatch.py:${PORTSDIR}/net/tcpwatch

USE_PYTHON= 2.4+
USE_PYDISTUTILS=    easy_install

DOCSDIR=    ${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESDIR=    ${PREFIX}/share/examples/py-${PORTNAME}

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
    ${MKDIR} ${EXAMPLESDIR}
    ${CP} -R ${WRKSRC}/funkload/demo ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>