aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-webunit/Makefile
blob: ba17d032cfe74e7470ca2ac3ac4a0fb0f44cc3b9 (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
# Created by: Li-Wen Hsu <lwhsu@lwhsu.org>
# $FreeBSD$

PORTNAME=   webunit
PORTVERSION=    1.3.10
CATEGORIES= www python
MASTER_SITES=   CHEESESHOP
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=    ${PREFIX}/share/examples/py-${PORTNAME}

.if !defined(NOPORTEXAMPLES)
NO_STAGE=   yes
post-install:
    ${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_SCRIPT} ${WRKSRC}/run_tests ${EXAMPLESDIR}
    ${CP} -R ${WRKSRC}/demo ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>