- Add NO_ARCH

- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2016-10-21 09:05:32 +00:00
parent 82b49dc769
commit 31b0eeeac9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=424399

View file

@ -22,17 +22,20 @@ USES= python
USE_PYTHON= distutils
USE_WX= 3.0+
WX_COMPS= python:run
NO_ARCH= yes
PORTDOCS= README
OPTIONS_DEFINE= DOCS
DESKTOP_ENTRIES="OBApps" "" ${PORTNAME} \
"${PORTNAME}" "Settings;" ""
OPTIONS_DEFINE= DOCS
post-install:
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}