diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-10-24 04:28:37 +0800 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-10-24 04:28:37 +0800 |
commit | 0f6050fa0e6efc9eef714e5a1b39e3b031285328 (patch) | |
tree | 07b8a1828e5356f55bc9f3aa87507334f1d5cf1f /textproc | |
parent | c6813eba865195fa4127087a88ce86116e7e9624 (diff) | |
download | freebsd-ports-gnome-0f6050fa0e6efc9eef714e5a1b39e3b031285328.tar.gz freebsd-ports-gnome-0f6050fa0e6efc9eef714e5a1b39e3b031285328.tar.zst freebsd-ports-gnome-0f6050fa0e6efc9eef714e5a1b39e3b031285328.zip |
- Add LICENSE
- Switch to options helpers
- Drop @dirrm* from plist
Approved by: portmgr blanket
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/ibus-m17n/Makefile | 16 | ||||
-rw-r--r-- | textproc/ibus-m17n/pkg-plist | 3 |
2 files changed, 6 insertions, 13 deletions
diff --git a/textproc/ibus-m17n/Makefile b/textproc/ibus-m17n/Makefile index dd2b2e9c7822..d149786bac48 100644 --- a/textproc/ibus-m17n/Makefile +++ b/textproc/ibus-m17n/Makefile @@ -10,6 +10,9 @@ MASTER_SITES= GOOGLE_CODE MAINTAINER= nikola.lecic@anthesphoria.net COMMENT= The m17n IMEngine for IBus framework +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + LIB_DEPENDS= libibus-1.0.so:${PORTSDIR}/textproc/ibus \ libm17n.so:${PORTSDIR}/devel/m17n-lib RUN_DEPENDS= ibus-daemon:${PORTSDIR}/textproc/ibus @@ -20,16 +23,9 @@ USES= gmake pkgconfig GNU_CONFIGURE= yes OPTIONS_DEFINE= NLS - -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.endif +OPTIONS_SUB= yes +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls post-patch: @${REINPLACE_CMD} -e 's|/usr/share/m17n|$${pkgdatadir}|g' \ diff --git a/textproc/ibus-m17n/pkg-plist b/textproc/ibus-m17n/pkg-plist index f5d12a5d7b99..93f5c8e99c89 100644 --- a/textproc/ibus-m17n/pkg-plist +++ b/textproc/ibus-m17n/pkg-plist @@ -5,6 +5,3 @@ share/ibus/component/m17n.xml %%DATADIR%%/setup/default.xml %%DATADIR%%/setup/ibus-m17n-preferences.ui %%NLS%%share/locale/zh_CN/LC_MESSAGES/ibus-m17n.mo -@dirrm %%DATADIR%%/icons -@dirrm %%DATADIR%%/setup -@dirrm %%DATADIR%% |