Switch to USES=python and autoplist

This commit is contained in:
Antoine Brodin 2014-08-30 10:24:01 +00:00
parent 60529af9e8
commit 007d3add47
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=366604
2 changed files with 2 additions and 47 deletions

View file

@ -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>

View file

@ -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