2007-03-03 18:34:01 +01:00
|
|
|
# New ports collection makefile for: py-webunit
|
|
|
|
# Date created: Mar. 03, 2007
|
|
|
|
# Whom: Li-Wen Hsu <lwhsu@lwhsu.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= webunit
|
2007-03-27 09:38:04 +02:00
|
|
|
PORTVERSION= 1.3.9
|
2007-03-03 18:34:01 +01:00
|
|
|
CATEGORIES= www python
|
2007-06-22 14:34:10 +02:00
|
|
|
MASTER_SITES= CHEESESHOP \
|
2007-04-08 01:37:58 +02:00
|
|
|
http://www.cs.nctu.edu.tw/~lwhsu/ports/distfiles/
|
2007-03-03 18:34:01 +01:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
2007-04-04 10:49:31 +02:00
|
|
|
MAINTAINER= lwhsu@FreeBSD.org
|
2007-03-03 18:34:01 +01:00
|
|
|
COMMENT= Unit test your websites with code that acts like a web browser
|
|
|
|
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS= yes
|
|
|
|
|
2007-08-04 13:41:30 +02:00
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
2007-03-03 18:34:01 +01:00
|
|
|
|
2007-06-22 14:34:10 +02:00
|
|
|
.if !defined(NOPORTEXAMPLES)
|
2007-03-03 18:34:01 +01:00
|
|
|
post-install:
|
|
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/run_tests ${EXAMPLESDIR}
|
|
|
|
${CP} -R ${WRKSRC}/demo ${EXAMPLESDIR}
|
2007-06-22 14:34:10 +02:00
|
|
|
.endif
|
2007-03-03 18:34:01 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|