2011-04-21 06:20:43 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2011/04/21 10:20:43 eric Exp $
|
2008-07-22 20:36:45 -04:00
|
|
|
|
|
|
|
COMMENT = system to automate the compile/test cycle
|
|
|
|
|
2011-04-21 06:20:43 -04:00
|
|
|
MODPY_EGG_VERSION = 0.8.3p1
|
2008-07-22 20:36:45 -04:00
|
|
|
DISTNAME = buildbot-${MODPY_EGG_VERSION}
|
2011-04-21 06:20:43 -04:00
|
|
|
PKGNAME = py-${DISTNAME:S/p/./}
|
2008-07-22 20:36:45 -04:00
|
|
|
|
2011-04-21 06:20:43 -04:00
|
|
|
CATEGORIES = devel
|
2008-07-22 20:36:45 -04:00
|
|
|
|
|
|
|
HOMEPAGE = http://buildbot.net/
|
|
|
|
|
2011-04-21 06:20:43 -04:00
|
|
|
MAINTAINER = Piotr Sikora <piotr.sikora@frickle.com>
|
2008-07-22 20:36:45 -04:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2011-04-21 06:20:43 -04:00
|
|
|
MASTER_SITES = http://buildbot.googlecode.com/files/
|
2008-07-22 20:36:45 -04:00
|
|
|
|
|
|
|
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}
|
2011-04-21 06:20:43 -04:00
|
|
|
|
|
|
|
REGRESS_DEPENDS = ${RUN_DEPENDS} \
|
|
|
|
devel/py-mock
|
|
|
|
|
|
|
|
HOMEDIR = /var/buildbot
|
|
|
|
|
|
|
|
SUBST_VARS += HOMEDIR
|
2008-07-22 20:36:45 -04:00
|
|
|
|
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>
|