espie c6196f84ab reminder: when you move files/remove conflicts, you still need to mark
a conflict with the problematic versions, otherwise some update scenarios
will fuck up...
2014-02-08 14:58:21 +00:00

38 lines
810 B
Makefile

# $OpenBSD: Makefile,v 1.3 2014/02/08 14:58:21 espie Exp $
COMMENT= flexible forms validation and rendering library
MODPY_EGG_VERSION=1.0.5
DISTNAME= WTForms-${MODPY_EGG_VERSION}
PKGNAME= py-${DISTNAME:L}
CATEGORIES= www
REVISION = 0
HOMEPAGE= http://wtforms.simplecodes.com/
# BSD
PERMIT_PACKAGE_CDROM= Yes
MODULES= lang/python
MASTER_SITES= ${MASTER_SITE_PYPI:=W/WTForms/}
EXTRACT_SUFX= .zip
BUILD_DEPENDS= ${RUN_DEPENDS} \
textproc/py-sphinx
RUN_DEPENDS= devel/py-dateutil
MODPY_SETUPTOOLS= Yes
USE_GMAKE= Yes
post-build:
@cd ${WRKSRC}/docs && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} html
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${MODPY_PY_PREFIX}wtforms
cd ${WRKSRC}/docs/_build/html && \
pax -rw * ${PREFIX}/share/doc/${MODPY_PY_PREFIX}wtforms
.include <bsd.port.mk>