Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= matrix-synapse |
4 |
PORTNAME= matrix-synapse |
5 |
DISTVERSIONPREFIX= v |
5 |
DISTVERSIONPREFIX= v |
6 |
DISTVERSION= 0.99.3 |
6 |
DISTVERSION= 0.99.5.2 |
7 |
CATEGORIES= net-im python |
7 |
CATEGORIES= net-im python |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
9 |
|
9 |
|
Lines 29-35
Link Here
|
29 |
${PYTHON_PKGNAMEPREFIX}pyasn1-modules>=0.0.7:devel/py-pyasn1-modules@${PY_FLAVOR} \ |
29 |
${PYTHON_PKGNAMEPREFIX}pyasn1-modules>=0.0.7:devel/py-pyasn1-modules@${PY_FLAVOR} \ |
30 |
${PYTHON_PKGNAMEPREFIX}daemonize>=2.4.2:devel/py-daemonize@${PY_FLAVOR} \ |
30 |
${PYTHON_PKGNAMEPREFIX}daemonize>=2.4.2:devel/py-daemonize@${PY_FLAVOR} \ |
31 |
${PYTHON_PKGNAMEPREFIX}bcrypt>=3.1.0:security/py-bcrypt@${PY_FLAVOR} \ |
31 |
${PYTHON_PKGNAMEPREFIX}bcrypt>=3.1.0:security/py-bcrypt@${PY_FLAVOR} \ |
32 |
${PYTHON_PKGNAMEPREFIX}pillow>=3.1.2:graphics/py-pillow@${PY_FLAVOR} \ |
32 |
${PYTHON_PKGNAMEPREFIX}pillow>=4.3.0:graphics/py-pillow@${PY_FLAVOR} \ |
33 |
${PYTHON_PKGNAMEPREFIX}sortedcontainers>=1.4.4:devel/py-sortedcontainers@${PY_FLAVOR} \ |
33 |
${PYTHON_PKGNAMEPREFIX}sortedcontainers>=1.4.4:devel/py-sortedcontainers@${PY_FLAVOR} \ |
34 |
${PYTHON_PKGNAMEPREFIX}psutil>=2.0.0:sysutils/py-psutil@${PY_FLAVOR} \ |
34 |
${PYTHON_PKGNAMEPREFIX}psutil>=2.0.0:sysutils/py-psutil@${PY_FLAVOR} \ |
35 |
${PYTHON_PKGNAMEPREFIX}pysaml2>=4.0.2:security/py-pysaml2@${PY_FLAVOR} \ |
35 |
${PYTHON_PKGNAMEPREFIX}pysaml2>=4.0.2:security/py-pysaml2@${PY_FLAVOR} \ |
Lines 71-87
Link Here
|
71 |
|
71 |
|
72 |
NO_ARCH= yes |
72 |
NO_ARCH= yes |
73 |
|
73 |
|
74 |
OPTIONS_DEFINE= EMAIL LDAP PGSQL SQLITE URLPREVIEW |
74 |
OPTIONS_DEFINE= EMAIL LDAP PGSQL SQLITE URLPREVIEW DOCS |
75 |
OPTIONS_DEFAULT= SQLITE |
75 |
OPTIONS_DEFAULT= SQLITE DOCS |
76 |
EMAIL_DESC= Email notifications for missed messages |
76 |
EMAIL_DESC= Email notifications for missed messages |
77 |
URLPREVIEW_DESC= Add dependencies necessary for URL previews |
77 |
URLPREVIEW_DESC= Add dependencies necessary for URL previews |
78 |
URLPREVIEW_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}lxml>=3.5.0:devel/py-lxml@${PY_FLAVOR} |
78 |
URLPREVIEW_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}lxml>=3.5.0:devel/py-lxml@${PY_FLAVOR} |
79 |
EMAIL_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.9:devel/py-Jinja2@${PY_FLAVOR} \ |
79 |
EMAIL_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.9:devel/py-Jinja2@${PY_FLAVOR} \ |
80 |
${PYTHON_PKGNAMEPREFIX}bleach>=1.4.2:www/py-bleach@${PY_FLAVOR} |
80 |
${PYTHON_PKGNAMEPREFIX}bleach>=1.4.2:www/py-bleach@${PY_FLAVOR} |
81 |
LDAP_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}matrix-synapse-ldap3>=0.1:net/py-matrix-synapse-ldap3@${PY_FLAVOR} |
81 |
LDAP_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}matrix-synapse-ldap3>=0.1:net/py-matrix-synapse-ldap3@${PY_FLAVOR} |
82 |
PGSQL_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}psycopg2>2.6:databases/py-psycopg2@${PY_FLAVOR} |
82 |
PGSQL_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}psycopg2>2.7:databases/py-psycopg2@${PY_FLAVOR} |
83 |
SQLITE_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} |
83 |
SQLITE_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} |
84 |
|
84 |
|
|
|
85 |
|
86 |
PORTDOCS=README.rst UPGRADE.rst CHANGES.md |
85 |
post-patch: |
87 |
post-patch: |
86 |
@${REINPLACE_CMD} -e 's|msgpack-python|msgpack|' ${WRKSRC}/synapse/python_dependencies.py |
88 |
@${REINPLACE_CMD} -e 's|msgpack-python|msgpack|' ${WRKSRC}/synapse/python_dependencies.py |
87 |
|
89 |
|
Lines 91-95
Link Here
|
91 |
post-install: |
93 |
post-install: |
92 |
${MKDIR} ${STAGEDIR}${ETCDIR} |
94 |
${MKDIR} ${STAGEDIR}${ETCDIR} |
93 |
${INSTALL_DATA} ${WRKDIR}/log.config ${STAGEDIR}${ETCDIR}/log.config.sample |
95 |
${INSTALL_DATA} ${WRKDIR}/log.config ${STAGEDIR}${ETCDIR}/log.config.sample |
|
|
96 |
|
97 |
post-install-DOCS-on: |
98 |
${MKDIR} ${STAGEDIR}${DOCSDIR} |
99 |
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} |
94 |
|
100 |
|
95 |
.include <bsd.port.mk> |
101 |
.include <bsd.port.mk> |