41 lines
957 B
Makefile
41 lines
957 B
Makefile
# $OpenBSD: Makefile,v 1.8 2011/09/16 12:00:08 espie Exp $
|
|
|
|
COMMENT = toolkit for generation of output for the web
|
|
|
|
MODPY_EGG_VERSION = 0.6
|
|
DISTNAME = Genshi-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-${DISTNAME:L}
|
|
REVISION = 2
|
|
|
|
CATEGORIES = www
|
|
|
|
HOMEPAGE = http://genshi.edgewall.org/
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
MASTER_SITES = ftp://ftp.edgewall.com/pub/genshi/
|
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_SETUPTOOLS = Yes
|
|
MODPY_SETUP = setup.py --with-speedups
|
|
|
|
REGRESS_DEPENDS = ${BUILD_DEPENDS}
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-genshi
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-genshi
|
|
cd ${WRKSRC}/doc && pax -rw * ${PREFIX}/share/doc/py-genshi
|
|
cd ${WRKSRC}/examples && \
|
|
pax -rw * ${PREFIX}/share/examples/py-genshi
|
|
|
|
do-regress:
|
|
@${MAKE_ENV} PYTHONPATH=${WRKSRC} ${MODPY_BIN} \
|
|
${WRKSRC}/genshi/tests/__init__.py
|
|
|
|
.include <bsd.port.mk>
|