openbsd-ports/www/py-clientform/Makefile

34 lines
891 B
Makefile

# $OpenBSD: Makefile,v 1.3 2009/06/02 05:04:37 wcmaier Exp $
COMMENT= handle HTML forms on the client side
MODPY_EGG_VERSION= 0.2.10
DISTNAME= ClientForm-${MODPY_EGG_VERSION}
PKGNAME= py-clientform-${MODPY_EGG_VERSION}
CATEGORIES= www
HOMEPAGE= http://wwwsearch.sourceforge.net/ClientForm/
MASTER_SITES= ${HOMEPAGE}src/
MAINTAINER= Will Maier <wcmaier@openbsd.org>
# BSD-like or ZPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= lang/python
MODPY_SETUPTOOLS= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-clientform
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-clientform
.for i in COPYING.txt COPYRIGHT.txt *.html
${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/doc/py-clientform
.endfor
${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/py-clientform
.include <bsd.port.mk>