- Stage support

- Support autoplist
- Bump PORTREV
This commit is contained in:
Martin Wilke 2014-02-26 07:21:43 +00:00
parent aeeba6daef
commit b7118810a5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346130
2 changed files with 2 additions and 39 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= webunit
PORTVERSION= 1.3.10
PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -12,15 +13,8 @@ COMMENT= Unit test your websites with code that acts like a web browser
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
.if !defined(NOPORTEXAMPLES)
NO_STAGE= yes
post-install:
${MKDIR} ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/run_tests ${EXAMPLESDIR}
${CP} -R ${WRKSRC}/demo ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>

View File

@ -1,31 +0,0 @@
%%PYTHON_SITELIBDIR%%/webunit/HTMLParser.py
%%PYTHON_SITELIBDIR%%/webunit/HTMLParser.pyc
%%PYTHON_SITELIBDIR%%/webunit/HTMLParser.pyo
%%PYTHON_SITELIBDIR%%/webunit/IMGSucker.py
%%PYTHON_SITELIBDIR%%/webunit/IMGSucker.pyc
%%PYTHON_SITELIBDIR%%/webunit/IMGSucker.pyo
%%PYTHON_SITELIBDIR%%/webunit/SimpleDOM.py
%%PYTHON_SITELIBDIR%%/webunit/SimpleDOM.pyc
%%PYTHON_SITELIBDIR%%/webunit/SimpleDOM.pyo
%%PYTHON_SITELIBDIR%%/webunit/__init__.py
%%PYTHON_SITELIBDIR%%/webunit/__init__.pyc
%%PYTHON_SITELIBDIR%%/webunit/__init__.pyo
%%PYTHON_SITELIBDIR%%/webunit/config.py
%%PYTHON_SITELIBDIR%%/webunit/config.pyc
%%PYTHON_SITELIBDIR%%/webunit/config.pyo
%%PYTHON_SITELIBDIR%%/webunit/cookie.py
%%PYTHON_SITELIBDIR%%/webunit/cookie.pyc
%%PYTHON_SITELIBDIR%%/webunit/cookie.pyo
%%PYTHON_SITELIBDIR%%/webunit/utility.py
%%PYTHON_SITELIBDIR%%/webunit/utility.pyc
%%PYTHON_SITELIBDIR%%/webunit/utility.pyo
%%PYTHON_SITELIBDIR%%/webunit/webunittest.py
%%PYTHON_SITELIBDIR%%/webunit/webunittest.pyc
%%PYTHON_SITELIBDIR%%/webunit/webunittest.pyo
@dirrm %%PYTHON_SITELIBDIR%%/webunit
%%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%%