52 lines
1.1 KiB
Makefile
52 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.9 2011/09/16 12:00:08 espie Exp $
|
|
|
|
COMMENT= personal publishing platform / weblog engine
|
|
|
|
DISTNAME= Zine-0.1.2
|
|
PKGNAME= py-${DISTNAME:L}
|
|
REVISION= 4
|
|
|
|
CATEGORIES= www
|
|
|
|
HOMEPAGE= http://zine.pocoo.org/
|
|
MASTER_SITES= ${HOMEPAGE}releases/
|
|
|
|
MAINTAINER= Damien Miller <djm@openbsd.org>
|
|
|
|
# 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 <bsd.port.mk>
|