35 lines
636 B
Makefile

# $OpenBSD: Makefile,v 1.24 2021/11/02 00:02:53 sthen Exp $
COMMENT= toolkit for generation of output for the web
MODPY_EGG_VERSION= 0.7.5
DISTNAME= Genshi-${MODPY_EGG_VERSION}
PKGNAME= py-${DISTNAME:L}
REVISION= 1
CATEGORIES= www
HOMEPAGE= https://genshi.edgewall.org/
# BSD
PERMIT_PACKAGE= Yes
WANTLIB += pthread
MODULES= lang/python
MODPY_SETUPTOOLS= Yes
FLAVOR= python3
FLAVORS= python3
MODPY_PI= Yes
CONFIGURE_ENV= GENSHI_BUILD_SPEEDUP=1
TEST_DEPENDS= ${BUILD_DEPENDS}
post-install:
cp -r ${WRKSRC}/doc ${PREFIX}/share/doc/py-genshi
cp -r ${WRKSRC}/examples ${PREFIX}/share/examples/py-genshi
.include <bsd.port.mk>