mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
42542fb076
fully chrooted DESTDIR, which does not need such any more. Sponsored by: Google Summer of Code 2007 Approved by: portmgr (pav)
31 lines
702 B
Makefile
31 lines
702 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.9
|
|
CATEGORIES= www python
|
|
MASTER_SITES= CHEESESHOP \
|
|
http://www.cs.nctu.edu.tw/~lwhsu/ports/distfiles/
|
|
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>
|