openbsd-ports/www/twill/Makefile

44 lines
1.0 KiB
Makefile
Raw Normal View History

2013-03-11 07:35:43 -04:00
# $OpenBSD: Makefile,v 1.9 2013/03/11 11:44:50 espie Exp $
COMMENT= simple scripting language for web browsing
DISTNAME= twill-0.9
2011-09-16 08:00:05 -04:00
REVISION= 4
CATEGORIES= www
HOMEPAGE= http://twill.idyll.org/
MASTER_SITES= http://darcs.idyll.org/~t/projects/
MAINTAINER= Will Maier <willmaier@ml1.net>
# MIT
# Includes patched versions of:
# py-clientform (BSD-like or ZPL)
# py-mechanize (BSD-like or ZPL)
# py-parsing (BSD-like)
# py-beautifulsoup (PSF)
PERMIT_PACKAGE_CDROM= Yes
MODULES= lang/python
MODPY_SETUPTOOLS= Yes
2013-03-11 07:35:43 -04:00
TEST_DEPENDS= www/py-quixote \
2010-11-22 03:36:47 -05:00
devel/py-nose \
2011-03-16 10:36:18 -04:00
www/tidyp
# test-basic test requires user input for getpassword
2013-03-11 07:35:43 -04:00
TEST_IS_INTERACTIVE = Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/twill
cd ${WRKSRC}/doc && \
find . -type f -maxdepth 1 -name "*.txt" \
\! \( -name "ANNOUNCE*" -o -name "ChangeLog" \) \
-exec ${INSTALL_DATA} {} ${PREFIX}/share/doc/twill/{} \;
rm -fr ${WRKSRC}/twill.egg-info
2013-03-11 07:35:43 -04:00
do-test:
cd ${WRKSRC} && ${LOCALBASE}/bin/nosetests -v tests
.include <bsd.port.mk>