mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
7bcbbe3f9f
PR: ports/149416 Submitted by: Frederic Culot <frederic AT culot.org>
30 lines
649 B
Makefile
30 lines
649 B
Makefile
# 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.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)
|
|
post-install:
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/run_tests ${EXAMPLESDIR}
|
|
${CP} -R ${WRKSRC}/demo ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|