diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2015-07-07 01:46:21 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2015-07-07 01:46:21 +0800 |
commit | 5e6cbaeb528b4a3d7fb91bde3fa5ad312fb146f6 (patch) | |
tree | 76dedcb72f13f5ad8f02629d357e946399718e10 /devel | |
parent | d7dbfee8aad6d34ae9356ef6de45826dd88f0c17 (diff) | |
download | freebsd-ports-gnome-5e6cbaeb528b4a3d7fb91bde3fa5ad312fb146f6.tar.gz freebsd-ports-gnome-5e6cbaeb528b4a3d7fb91bde3fa5ad312fb146f6.tar.zst freebsd-ports-gnome-5e6cbaeb528b4a3d7fb91bde3fa5ad312fb146f6.zip |
- Add NO_ARCH
- Convert to new option target helper
Diffstat (limited to 'devel')
-rw-r--r-- | devel/bpython/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/devel/bpython/Makefile b/devel/bpython/Makefile index 9935ed951f99..b16e01d15995 100644 --- a/devel/bpython/Makefile +++ b/devel/bpython/Makefile @@ -23,6 +23,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}curtsies>=0.1.18:${PORTSDIR}/devel/py-curtsi OPTIONS_DEFINE= EXAMPLES NLS OPTIONS_SUB= yes +NO_ARCH= yes USE_PYTHON= autoplist distutils USES= python @@ -30,8 +31,6 @@ 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 @@ -41,13 +40,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} + +post-install-NLS-on: .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> |