Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # $OpenBSD: Makefile,v 1.10 2015/09/29 10:53:17 sthen Exp $
  2. COMMENT= simple scripting language for web browsing
  3. DISTNAME= twill-0.9
  4. REVISION= 5
  5. CATEGORIES= www
  6. HOMEPAGE= http://twill.idyll.org/
  7. MASTER_SITES= http://darcs.idyll.org/~t/projects/
  8. MAINTAINER= Will Maier <willmaier@ml1.net>
  9. # MIT
  10. # Includes patched versions of:
  11. # py-clientform (BSD-like or ZPL)
  12. # py-mechanize (BSD-like or ZPL)
  13. # py-parsing (BSD-like)
  14. # py-beautifulsoup (PSF)
  15. PERMIT_PACKAGE_CDROM= Yes
  16. MODULES= lang/python
  17. MODPY_SETUPTOOLS= Yes
  18. TEST_DEPENDS= www/py-quixote \
  19. devel/py-nose \
  20. www/tidyp
  21. # test-basic test requires user input for getpassword
  22. TEST_IS_INTERACTIVE = Yes
  23. post-install:
  24. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/twill
  25. cd ${WRKSRC}/doc && \
  26. find . -type f -maxdepth 1 -name "*.txt" \
  27. \! \( -name "ANNOUNCE*" -o -name "ChangeLog" \) \
  28. -exec ${INSTALL_DATA} {} ${PREFIX}/share/doc/twill/{} \;
  29. rm -fr ${WRKSRC}/twill.egg-info
  30. do-test:
  31. cd ${WRKSRC} && ${LOCALBASE}/bin/nosetests -v tests
  32. .include <bsd.port.mk>