aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-webunit/Makefile
blob: edc19ccaa415ea0f410671dc336304c298144e27 (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
# New ports collection makefile for:    py-webunit
# Date created:     Mar. 03, 2007
# Whom:         Li-Wen Hsu <lwhsu@lwhsu.org>
#
# $FreeBSD$
#

PORTNAME=   webunit
PORTVERSION=    1.3.9
CATEGORIES= www python
MASTER_SITES=   http://cheeseshop.python.org/packages/source/w/webunit/ \
        http://mechanicalcat.net/tech/webunit/ \
        http://funkload.nuxeo.org/3dparty/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= lwhsu@FreeBSD.org
COMMENT=    Unit test your websites with code that acts like a web browser

USE_PYTHON= yes
USE_PYDISTUTILS=    yes

EXAMPLESDIR=    ${TARGETDIR}/share/examples/py-${PORTNAME}

post-install:
    ${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_SCRIPT} ${WRKSRC}/run_tests ${EXAMPLESDIR}
    ${CP} -R ${WRKSRC}/demo ${EXAMPLESDIR}

.include <bsd.port.mk>