2010-11-15 14:45:56 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2010/11/15 19:46:07 espie Exp $
|
2008-07-22 20:36:45 -04:00
|
|
|
|
|
|
|
COMMENT = system to automate the compile/test cycle
|
|
|
|
|
2010-11-07 12:17:42 -05:00
|
|
|
MODPY_EGG_VERSION = 0.8.2
|
2008-07-22 20:36:45 -04:00
|
|
|
DISTNAME = buildbot-${MODPY_EGG_VERSION}
|
2010-05-04 09:50:35 -04:00
|
|
|
PKGNAME = py-${DISTNAME}
|
2010-11-07 20:20:06 -05:00
|
|
|
REVISION = 0
|
2008-07-22 20:36:45 -04:00
|
|
|
|
|
|
|
CATEGORIES = devel
|
|
|
|
|
|
|
|
HOMEPAGE = http://buildbot.net/
|
|
|
|
|
|
|
|
MAINTAINER = Will Maier <wcmaier@openbsd.org>
|
|
|
|
|
|
|
|
# GPLv2
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
2009-03-22 12:42:12 -04:00
|
|
|
PERMIT_DISTFILES_CDROM = Yes
|
2008-07-22 20:36:45 -04:00
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=buildbot/}
|
|
|
|
|
|
|
|
MODULES = lang/python
|
|
|
|
|
2008-12-27 10:32:54 -05:00
|
|
|
MODPY_SETUPTOOLS = Yes
|
2010-11-07 12:17:42 -05:00
|
|
|
MODPY_BADEGGS = buildbot
|
2008-12-27 10:32:54 -05:00
|
|
|
|
2010-11-15 14:45:56 -05:00
|
|
|
RUN_DEPENDS = devel/py-twisted/core \
|
|
|
|
devel/py-twisted/conch \
|
|
|
|
devel/py-twisted/mail \
|
|
|
|
devel/py-twisted/web \
|
|
|
|
devel/py-twisted/words \
|
|
|
|
www/py-jinja2 \
|
2010-11-07 12:17:42 -05:00
|
|
|
${MODPY_JSON}
|
2008-07-22 20:36:45 -04:00
|
|
|
REGRESS_DEPENDS = ${RUN_DEPENDS}
|
|
|
|
|
2009-11-21 08:41:15 -05:00
|
|
|
post-configure:
|
|
|
|
@cd ${WRKSRC}/docs && makeinfo --no-split --html buildbot
|
|
|
|
|
2008-07-22 20:36:45 -04:00
|
|
|
post-install:
|
2009-03-22 12:42:12 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-buildbot/images
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-buildbot
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/py-buildbot
|
2008-07-22 20:36:45 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/examples/*.cfg \
|
2009-03-22 12:42:12 -04:00
|
|
|
${PREFIX}/share/examples/py-buildbot
|
2008-07-22 20:36:45 -04:00
|
|
|
cd ${WRKSRC}/docs && ${INSTALL_DATA} buildbot.html *.png \
|
2009-03-22 12:42:12 -04:00
|
|
|
${PREFIX}/share/doc/py-buildbot
|
2008-07-22 20:36:45 -04:00
|
|
|
cd ${WRKSRC}/docs/images && ${INSTALL_DATA} *.png \
|
2009-03-22 12:42:12 -04:00
|
|
|
${PREFIX}/share/doc/py-buildbot/images
|
|
|
|
cd ${WRKSRC} && pax -rw contrib ${PREFIX}/share/doc/py-buildbot
|
2008-07-22 20:36:45 -04:00
|
|
|
|
2010-11-07 20:20:06 -05:00
|
|
|
do-regress:
|
|
|
|
@${MAKE_ENV} PYTHONPATH=${WRKSRC} \
|
2010-11-07 12:17:42 -05:00
|
|
|
${LOCALBASE}/bin/trial --temp-directory=${WRKBUILD}/regress \
|
2008-07-22 20:36:45 -04:00
|
|
|
buildbot.test
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|