# $OpenBSD: Makefile,v 1.14 2012/01/13 20:54:25 sthen Exp $ COMMENT = highly reliable Enterprise Messaging System V = 2.7.1 DISTNAME = rabbitmq-server-$V PKGNAME = rabbitmq-$V CATEGORIES = net HOMEPAGE = http://www.rabbitmq.com/ MAINTAINER = Piotr Sikora # MPL PERMIT_PACKAGE_CDROM = Yes PERMIT_PACKAGE_FTP = Yes PERMIT_DISTFILES_CDROM = Yes PERMIT_DISTFILES_FTP = Yes MASTER_SITES = http://www.rabbitmq.com/releases/rabbitmq-server/v${V}/ MODULES = lang/python MODPY_RUNDEP = No USE_GMAKE = Yes USE_GROFF = Yes CONFIGURE_STYLE = none BUILD_DEPENDS = ${RUN_DEPENDS} \ ${MODPY_JSON} \ archivers/unzip \ archivers/zip \ textproc/docbook \ textproc/libxslt \ textproc/xmlto RUN_DEPENDS = lang/erlang MAKE_ENV = PYTHON=${MODPY_BIN} VERSION=${V} RABBITUSER = _rabbitmq SUBST_VARS += RABBITUSER V # help 'make update-patches' work. if upstream do this often, # consider PATCHORIG and regenerating patches. post-extract: rm ${WRKSRC}/plugins-src/mochiweb-wrapper/mochiweb-git/src/mochiweb_request.erl.orig pre-build: ${SUBST_CMD} ${WRKSRC}/scripts/rabbitmqctl post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rabbitmq @for file in INSTALL LICENSE*; do \ mv ${PREFIX}/lib/rabbitmq/$$file \ ${PREFIX}/share/doc/rabbitmq; \ done ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/rabbitmq ${INSTALL_DATA} ${FILESDIR}/rabbitmq.conf \ ${PREFIX}/share/examples/rabbitmq/rabbitmq-env.conf .include