openbsd-ports/www/py-formencode/Makefile
merdely ba8add3ebb Remove surrounding quotes from
COMMENT-*/ERRORS/NO_REGRESS/PERMIT_*/REGRESS_IS_INTERACTIVE

Change '.include "bsd.port.mk"' to '.include <bsd.port.mk>' while here
(ok naddy@)
2007-09-15 20:38:20 +00:00

45 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.3 2007/09/15 20:38:25 merdely Exp $
COMMENT= HTML form validation, generation, and conversion
V= 0.7.1
DISTNAME= FormEncode-${V}
PKGNAME= py-formencode-${V}p0
CATEGORIES= www lang/python
HOMEPAGE= http://www.formencode.org/
MAINTAINER= Martynas Venckus <martynas@openbsd.org>
# PSF
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://cheeseshop.python.org/packages/source/F/FormEncode/
MODULES= devel/gettext lang/python
RUN_DEPENDS= ::textproc/py-ElementTree \
::devel/py-ruledispatch
REGRESS_DEPENDS= ::textproc/py-ElementTree \
::devel/py-py \
::devel/py-ruledispatch
MODPY_SETUPTOOLS= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-formencode
${INSTALL_DATA} ${WRKSRC}/docs/* ${PREFIX}/share/doc/py-formencode/
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-formencode
cd ${WRKSRC}/examples && \
find . -type d -exec ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-formencode/{} \; && \
find . ! -type d -exec ${INSTALL_DATA} {} ${PREFIX}/share/examples/py-formencode/{} \;
do-regress:
cd ${WRKSRC} && py.test .
rm -f ${WRKSRC}/docs/test_docs.py{.orig,c}
.include <bsd.port.mk>