openbsd-ports/www/twill/Makefile
okan 8da1f3bc91 import twill
twill is a simple language that allows users to browse the web from a
command-line interface.  With twill, you can navigate through web sites
that use forms, cookies, and most standard web features.  twill supports
automated web testing and has a simple Python interface.

from Will Maier

ok merdely
2008-01-15 02:01:28 +00:00

41 lines
976 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2008/01/15 02:01:28 okan Exp $
COMMENT= simple scripting language for web browsing
DISTNAME= twill-0.9
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
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= lang/python
MODPY_SETUPTOOLS= Yes
REGRESS_DEPENDS= ::www/py-quixote \
::devel/py-nose \
::www/tidy
MAKE_ENV+= NOSE_WHERE=${WRKSRC}/twill
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/{} \;
.include <bsd.port.mk>