diff options
author | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2007-06-22 12:34:10 +0000 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2007-06-22 12:34:10 +0000 |
commit | 7909ebc4e6bc5506b8954721305a49d56e300e15 (patch) | |
tree | 7fd1cb15df57407c4af75e974a8a0d6f24402cd8 /www/py-webunit | |
parent | 48011b32c995f7e12eb66bb26402d0196ebf0022 (diff) | |
download | ports-7909ebc4e6bc5506b8954721305a49d56e300e15.tar.gz ports-7909ebc4e6bc5506b8954721305a49d56e300e15.zip |
Notes
Diffstat (limited to 'www/py-webunit')
-rw-r--r-- | www/py-webunit/Makefile | 4 | ||||
-rw-r--r-- | www/py-webunit/pkg-plist | 12 |
2 files changed, 9 insertions, 7 deletions
diff --git a/www/py-webunit/Makefile b/www/py-webunit/Makefile index 234244d012aa..395719f5805b 100644 --- a/www/py-webunit/Makefile +++ b/www/py-webunit/Makefile @@ -8,7 +8,7 @@ PORTNAME= webunit PORTVERSION= 1.3.9 CATEGORIES= www python -MASTER_SITES= http://cheeseshop.python.org/packages/source/w/webunit/ \ +MASTER_SITES= CHEESESHOP \ http://www.cs.nctu.edu.tw/~lwhsu/ports/distfiles/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -20,9 +20,11 @@ USE_PYDISTUTILS= yes EXAMPLESDIR= ${TARGETDIR}/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> diff --git a/www/py-webunit/pkg-plist b/www/py-webunit/pkg-plist index 3d08f7d7f26f..e1e613554fb0 100644 --- a/www/py-webunit/pkg-plist +++ b/www/py-webunit/pkg-plist @@ -23,9 +23,9 @@ %%PYTHON_SITELIBDIR%%/webunit/webunittest.pyc %%PYTHON_SITELIBDIR%%/webunit/webunittest.pyo @dirrm %%PYTHON_SITELIBDIR%%/webunit -%%EXAMPLESDIR%%/run_tests -%%EXAMPLESDIR%%/demo/__init__.py -%%EXAMPLESDIR%%/demo/google.py -%%EXAMPLESDIR%%/demo/python_org.py -@dirrm %%EXAMPLESDIR%%/demo -@dirrm %%EXAMPLESDIR%% +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/run_tests +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo/__init__.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo/google.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo/python_org.py +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/demo +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% |