38 lines
770 B
Makefile
38 lines
770 B
Makefile
# $OpenBSD: Makefile,v 1.5 2015/09/29 10:52:54 sthen Exp $
|
|
|
|
COMMENT = helpers to pass trusted data to untrusted environments
|
|
|
|
MODPY_EGG_VERSION = 0.24
|
|
REVISION = 1
|
|
DISTNAME = itsdangerous-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-${DISTNAME}
|
|
|
|
CATEGORIES = www devel
|
|
|
|
HOMEPAGE = http://pythonhosted.org/itsdangerous/
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
MODPY_PI = Yes
|
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_SETUPTOOLS = Yes
|
|
|
|
BUILD_DEPENDS = textproc/py-sphinx
|
|
|
|
FLAVORS = python3
|
|
FLAVOR ?=
|
|
|
|
post-build:
|
|
@cd ${WRKSRC}/docs && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} html
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} \
|
|
${PREFIX}/share/doc/${MODPY_PY_PREFIX}itsdangerous
|
|
cd ${WRKSRC}/docs/_build/html && \
|
|
pax -rw * ${PREFIX}/share/doc/${MODPY_PY_PREFIX}itsdangerous
|
|
|
|
.include <bsd.port.mk>
|