svn commit: r379581 - head/devel/bpython
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Feb 22 06:17:14 UTC 2015
Author: sunpoet
Date: Sun Feb 22 06:17:13 2015
New Revision: 379581
URL: https://svnweb.freebsd.org/changeset/ports/379581
QAT: https://qat.redports.org/buildarchive/r379581/
Log:
- Fix build whe NLS option is off
Modified:
head/devel/bpython/Makefile
Modified: head/devel/bpython/Makefile
==============================================================================
--- head/devel/bpython/Makefile Sun Feb 22 05:56:19 2015 (r379580)
+++ head/devel/bpython/Makefile Sun Feb 22 06:17:13 2015 (r379581)
@@ -26,6 +26,8 @@ PORTEXAMPLES= light.theme sample.theme
NLS_USES= gettext
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e '/build\/man\/bpython/d; /data\/bpython.desktop/d' ${WRKSRC}/setup.py
@@ -35,11 +37,13 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/data/bpython.desktop ${STAGEDIR}${DESKTOPDIR}/
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}/
+.if ${PORT_OPTIONS:MNLS}
.for lang in it_IT nl_NL
${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/
.endfor
.for lang in de es_ES it_IT nl_NL
${INSTALL_DATA} ${WRKSRC}/bpython/translations/${lang}/LC_MESSAGES/bpython.mo ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/
.endfor
+.endif
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list