# New ports collection makefile for: py-webunit # Date created: Mar. 03, 2007 # Whom: Li-Wen Hsu # # $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