blob: 6976e0115049309ed0b096e314243149491bf440 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# $NetBSD: Makefile,v 1.21 2022/06/30 11:18:40 nia Exp $
DISTNAME= CoilMQ-1.0.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
PKGREVISION= 3
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=C/CoilMQ/}
MAINTAINER= imil@NetBSD.org
HOMEPAGE= https://github.com/hozn/coilmq
COMMENT= Simple, lightweight, and easily extensible STOMP message broker
LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-click-[0-9]*:../../devel/py-click
DEPENDS+= ${PYPKGPREFIX}-daemon-[0-9]*:../../devel/py-daemon
DEPENDS+= ${PYPKGPREFIX}-pid-[0-9]*:../../sysutils/py-pid
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
USE_LANGUAGES= # none
PYTHON_SELF_CONFLICT= yes
PYTHON_VERSIONS_INCOMPATIBLE= 27
USE_PKG_RESOURCES= yes
REPLACE_PYTHON+= coilmq/start.py
PKG_SYSCONFSUBDIR= coilmq
SUBST_CLASSES+= cfg
SUBST_STAGE.cfg= pre-configure
SUBST_FILES.cfg= coilmq/config/__init__.py
SUBST_SED.cfg= -e 's,/path/to/config.cfg,${PKG_SYSCONFDIR}/defaults.cfg,'
EGDIR= ${PREFIX}/share/examples/coilmq
INSTALLATION_DIRS+= ${EGDIR}
CONF_FILES= ${EGDIR}/defaults.cfg \
${PKG_SYSCONFDIR}/defaults.cfg \
${EGDIR}/coilmq.cfg-sample \
${PKG_SYSCONFDIR}/coilmq.cfg
post-install:
${INSTALL_DATA} ${WRKSRC}/coilmq/config/defaults.cfg \
${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/coilmq/config/coilmq.cfg-sample \
${DESTDIR}${EGDIR}
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
|