aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-08-30 10:24:01 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-08-30 10:24:01 +0000
commit007d3add4736da236b54d600be1fc2dcab2cfdcc (patch)
tree95d32788d7f1c613d54693ae002c13b4a227f61d /security
parent60529af9e86c7caf70cf059d48c4772520eb7b54 (diff)
downloadports-007d3add4736da236b54d600be1fc2dcab2cfdcc.tar.gz
ports-007d3add4736da236b54d600be1fc2dcab2cfdcc.zip
Notes
Diffstat (limited to 'security')
-rw-r--r--security/py-yara-editor/Makefile8
-rw-r--r--security/py-yara-editor/pkg-plist41
2 files changed, 2 insertions, 47 deletions
diff --git a/security/py-yara-editor/Makefile b/security/py-yara-editor/Makefile
index 6093827d923c..e3e9394f4775 100644
--- a/security/py-yara-editor/Makefile
+++ b/security/py-yara-editor/Makefile
@@ -17,8 +17,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt4-core>=0:${PORTSDIR}/devel/py-qt4-core \
${PYTHON_PKGNAMEPREFIX}qt4-gui>=0:${PORTSDIR}/x11-toolkits/py-qt4-gui \
${PYTHON_PKGNAMEPREFIX}yara>=0:${PORTSDIR}/security/py-yara
-USE_PYTHON= 2
-USE_PYDISTUTILS=yes
+USES= python:2
+USE_PYTHON= distutils autoplist
OPTIONS_DEFINE= DOCS
@@ -30,12 +30,8 @@ post-patch:
-e '/en\/man8/d' \
-e "/'man8'/s/fr/en/" ${WRKSRC}/setup.py
-.include <bsd.port.options.mk>
-
post-install:
-.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>
diff --git a/security/py-yara-editor/pkg-plist b/security/py-yara-editor/pkg-plist
deleted file mode 100644
index bb2b1ff001e4..000000000000
--- a/security/py-yara-editor/pkg-plist
+++ /dev/null
@@ -1,41 +0,0 @@
-bin/yara-editor
-%%PYTHON_SITELIBDIR%%/yaraeditor/__init__.py
-%%PYTHON_SITELIBDIR%%/yaraeditor/__init__.pyc
-%%PYTHON_SITELIBDIR%%/yaraeditor/__init__.pyo
-%%PYTHON_SITELIBDIR%%/yaraeditor/constante.py
-%%PYTHON_SITELIBDIR%%/yaraeditor/constante.pyc
-%%PYTHON_SITELIBDIR%%/yaraeditor/constante.pyo
-%%PYTHON_SITELIBDIR%%/yaraeditor/core/__init__.py
-%%PYTHON_SITELIBDIR%%/yaraeditor/core/__init__.pyc
-%%PYTHON_SITELIBDIR%%/yaraeditor/core/__init__.pyo
-%%PYTHON_SITELIBDIR%%/yaraeditor/core/codeeditor.py
-%%PYTHON_SITELIBDIR%%/yaraeditor/core/codeeditor.pyc
-%%PYTHON_SITELIBDIR%%/yaraeditor/core/codeeditor.pyo
-%%PYTHON_SITELIBDIR%%/yaraeditor/core/controlleur.py
-%%PYTHON_SITELIBDIR%%/yaraeditor/core/controlleur.pyc
-%%PYTHON_SITELIBDIR%%/yaraeditor/core/controlleur.pyo
-%%PYTHON_SITELIBDIR%%/yaraeditor/core/highlighter.py
-%%PYTHON_SITELIBDIR%%/yaraeditor/core/highlighter.pyc
-%%PYTHON_SITELIBDIR%%/yaraeditor/core/highlighter.pyo
-%%PYTHON_SITELIBDIR%%/yaraeditor/core/ytreewidget.py
-%%PYTHON_SITELIBDIR%%/yaraeditor/core/ytreewidget.pyc
-%%PYTHON_SITELIBDIR%%/yaraeditor/core/ytreewidget.pyo
-%%PYTHON_SITELIBDIR%%/yaraeditor/ui/__init__.py
-%%PYTHON_SITELIBDIR%%/yaraeditor/ui/__init__.pyc
-%%PYTHON_SITELIBDIR%%/yaraeditor/ui/__init__.pyo
-%%PYTHON_SITELIBDIR%%/yaraeditor/ui/rules_generator.py
-%%PYTHON_SITELIBDIR%%/yaraeditor/ui/rules_generator.pyc
-%%PYTHON_SITELIBDIR%%/yaraeditor/ui/rules_generator.pyo
-%%PYTHON_SITELIBDIR%%/yaraeditor/ui/yaraeditor.py
-%%PYTHON_SITELIBDIR%%/yaraeditor/ui/yaraeditor.pyc
-%%PYTHON_SITELIBDIR%%/yaraeditor/ui/yaraeditor.pyo
-%%PYTHON_SITELIBDIR%%/yaraeditor/ui/yaraeditor_rc.py
-%%PYTHON_SITELIBDIR%%/yaraeditor/ui/yaraeditor_rc.pyc
-%%PYTHON_SITELIBDIR%%/yaraeditor/ui/yaraeditor_rc.pyo
-man/fr/man8/yara-editor.8.gz
-man/man8/yara-editor.8.gz
-@dirrmtry man/fr/man8
-@dirrmtry man/fr
-@dirrmtry %%PYTHON_SITELIBDIR%%/yaraeditor/ui
-@dirrmtry %%PYTHON_SITELIBDIR%%/yaraeditor/core
-@dirrmtry %%PYTHON_SITELIBDIR%%/yaraeditor