summaryrefslogtreecommitdiff
path: root/chat/gajim-plugin-omemo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'chat/gajim-plugin-omemo/Makefile')
-rw-r--r--chat/gajim-plugin-omemo/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/chat/gajim-plugin-omemo/Makefile b/chat/gajim-plugin-omemo/Makefile
new file mode 100644
index 00000000000..8d4e1407fc2
--- /dev/null
+++ b/chat/gajim-plugin-omemo/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1 2018/09/19 20:44:36 nia Exp $
+
+PKGNAME= gajim-plugin-omemo-2.6.1
+DISTNAME= omemo_${PKGVERSION_NOREV}
+CATEGORIES= chat security python
+MASTER_SITES= https://ftp.gajim.org/plugins_releases/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= nia@NetBSD.org
+HOMEPAGE= https://dev.gajim.org/gajim/gajim-plugins/wikis/OmemoGajimPlugin
+COMMENT= OMEMO encryption support for Gajim
+LICENSE= gnu-gpl-v3
+
+DEPENDS+= gajim-[0-9]*:../../chat/gajim
+DEPENDS+= ${PYPKGPREFIX}-axolotl-[0-9]*:../../chat/py-axolotl
+DEPENDS+= ${PYPKGPREFIX}-qrcode-[0-9]*:../../graphics/py-qrcode
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+WRKSRC= ${WRKDIR}/omemo
+USE_LANGUAGES= # none
+NO_BUILD= yes
+PY_PATCHPLIST= yes
+
+INSTALLATION_DIRS+= ${PYSITELIB}/gajim/data/plugins/omemo
+INSTALLATION_DIRS+= ${PYSITELIB}/gajim/data/plugins/omemo/omemo
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/* \
+ ${DESTDIR}${PREFIX}/${PYSITELIB}/gajim/data/plugins/omemo || ${TRUE}
+ ${INSTALL_DATA} ${WRKSRC}/omemo/* \
+ ${DESTDIR}${PREFIX}/${PYSITELIB}/gajim/data/plugins/omemo/omemo
+
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"