summaryrefslogtreecommitdiff
path: root/security/py-yara-python-dex/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/py-yara-python-dex/Makefile')
-rw-r--r--security/py-yara-python-dex/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/security/py-yara-python-dex/Makefile b/security/py-yara-python-dex/Makefile
new file mode 100644
index 000000000000..793abb8ef29b
--- /dev/null
+++ b/security/py-yara-python-dex/Makefile
@@ -0,0 +1,31 @@
+# Created by: thierry@pompo.net
+
+PORTNAME= yara-python-dex
+PORTVERSION= 1.0.1
+CATEGORIES= security python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= thierry@FreeBSD.org
+COMMENT= Prebuilt dex-enabled yara-python wheels
+
+LICENSE= APACHE20
+
+USE_GITHUB= yes
+GH_ACCOUNT= MobSF VirusTotal:yp VirusTotal:yp2
+GH_PROJECT= yara-python:yp yara:yp2
+GH_TAGNAME= 188cb6e85137f715fef563f61c6b4f21ad026562:yp \
+ ed1a1a430c64cf908b61a5fadc3958866a840bc6:yp2
+GH_SUBDIR= yara-python:yp yara-python/yara:yp2
+
+CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}yara
+
+USES= python:3.7+ ssl
+USE_PYTHON= distutils
+
+.if !defined(WITH_DEBUG)
+LDFLAGS+= -s
+.endif
+
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/yara%%PYTHON_EXT_SUFFIX%%.so
+
+.include <bsd.port.mk>