# $OpenBSD: Makefile,v 1.7 2010/11/22 08:36:53 espie Exp $ COMMENT= personal publishing platform / weblog engine DISTNAME= Zine-0.1.2 PKGNAME= py-${DISTNAME:L} REVISION= 2 CATEGORIES= www HOMEPAGE= http://zine.pocoo.org/ MASTER_SITES= ${HOMEPAGE}releases/ MAINTAINER= Damien Miller # BSD PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes MODULES= lang/python MODPY_SETUPTOOLS= Yes PKG_ARCH= * CONFIGURE_STYLE= simple CONFIGURE_ARGS+= --prefix=${LOCALBASE} --python=${MODPY_BIN} CONFIGURE_SCRIPT= ${MODPY_BIN} ${WRKSRC}/configure DEPENDS= databases/py-sqlalchemy \ devel/py-tz \ devel/py-babel \ devel/py-html5lib \ www/py-werkzeug \ www/py-jinja2 \ www/py-flup \ textproc/py-lxml \ textproc/py-pygments \ ${MODPY_JSON} BUILD_DEPENDS+= ${DEPENDS} RUN_DEPENDS+= ${DEPENDS} post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-zine ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/py-zine ${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/py-zine do-regress: cd ${WRKSRC} && ./scripts/run-tests .include