diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2015-02-22 14:17:13 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2015-02-22 14:17:13 +0800 |
commit | ddc77c38f00dd3d0ba6100a965341f4ef764f03e (patch) | |
tree | e51dec5a9347a90057c0b5629615c3bb311a417b | |
parent | 5bd92815fe6da966b23e6f977944e1cdd31008ea (diff) | |
download | freebsd-ports-gnome-ddc77c38f00dd3d0ba6100a965341f4ef764f03e.tar.gz freebsd-ports-gnome-ddc77c38f00dd3d0ba6100a965341f4ef764f03e.tar.zst freebsd-ports-gnome-ddc77c38f00dd3d0ba6100a965341f4ef764f03e.zip |
- Fix build whe NLS option is off
-rw-r--r-- | devel/bpython/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/bpython/Makefile b/devel/bpython/Makefile index d060dcfcfd9d..284c9a6708c2 100644 --- a/devel/bpython/Makefile +++ b/devel/bpython/Makefile @@ -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> |