diff options
author | miwi <miwi@FreeBSD.org> | 2014-06-28 00:12:05 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2014-06-28 00:12:05 +0800 |
commit | ad0d500039f05f16cc89ab583adf2ad11a01ff8b (patch) | |
tree | a00e4093223d0411024a5afdc36a7d3c44ca883b /textproc | |
parent | d90a9400fb65e01286c0beafe0103408cb52f4cf (diff) | |
download | freebsd-ports-gnome-ad0d500039f05f16cc89ab583adf2ad11a01ff8b.tar.gz freebsd-ports-gnome-ad0d500039f05f16cc89ab583adf2ad11a01ff8b.tar.zst freebsd-ports-gnome-ad0d500039f05f16cc89ab583adf2ad11a01ff8b.zip |
- Stage support
- Cleanup
PR: 190779
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/m17n-im-config/Makefile | 11 | ||||
-rw-r--r-- | textproc/m17n-im-config/files/patch-configure | 12 | ||||
-rw-r--r-- | textproc/m17n-im-config/pkg-plist | 8 |
3 files changed, 21 insertions, 10 deletions
diff --git a/textproc/m17n-im-config/Makefile b/textproc/m17n-im-config/Makefile index 72e1ccb82ee7..97283dca1271 100644 --- a/textproc/m17n-im-config/Makefile +++ b/textproc/m17n-im-config/Makefile @@ -3,7 +3,7 @@ PORTNAME= m17n-im-config PORTVERSION= 0.9.0 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= textproc MASTER_SITES= http://www.m17n.org/common/im-config/ \ http://anthesphoria.net/FreeBSD/ports/distfiles/ @@ -11,15 +11,15 @@ MASTER_SITES= http://www.m17n.org/common/im-config/ \ MAINTAINER= nikola.lecic@anthesphoria.net COMMENT= A GUI for per-user configuration of m17n-lib input methods -LIB_DEPENDS= m17n.4:${PORTSDIR}/devel/m17n-lib +LIB_DEPENDS= libm17n.so:${PORTSDIR}/devel/m17n-lib MAKE_JOBS_UNSAFE= yes -USE_AUTOTOOLS= libtool USE_GNOME= gtk20 intltool intlhack glib20 -USES= gettext pkgconfig +USES= gettext pkgconfig libtool USE_LDCONFIG= yes GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip DESKTOP_ENTRIES="M17N-IM Configuration" \ "${COMMENT}" \ @@ -28,14 +28,13 @@ DESKTOP_ENTRIES="M17N-IM Configuration" \ "Settings;" \ true -NO_STAGE= yes - OPTIONS_DEFINE= NLS .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MNLS} USES+= gettext +CONFIGURE_ARGS+= --enable-nls PLIST_SUB+= NLS="" .else CONFIGURE_ARGS+= --disable-nls diff --git a/textproc/m17n-im-config/files/patch-configure b/textproc/m17n-im-config/files/patch-configure new file mode 100644 index 000000000000..a7a098c61529 --- /dev/null +++ b/textproc/m17n-im-config/files/patch-configure @@ -0,0 +1,12 @@ +--- configure~ 2007-07-14 14:08:05.000000000 +0400 ++++ configure 2014-06-05 23:00:09.000000000 +0400 +@@ -5401,8 +5401,7 @@ + fi + fi + +- if test "$gt_use_preinstalled_gnugettext" = "yes" \ +- || test "$nls_cv_use_gnu_gettext" = "yes"; then ++ if test "${enable_nls+set}" = set; then + + cat >>confdefs.h <<\_ACEOF + #define ENABLE_NLS 1 diff --git a/textproc/m17n-im-config/pkg-plist b/textproc/m17n-im-config/pkg-plist index 82a9899954f8..7720257cf2fb 100644 --- a/textproc/m17n-im-config/pkg-plist +++ b/textproc/m17n-im-config/pkg-plist @@ -1,9 +1,9 @@ -%%NLS%%share/locale/ja/LC_MESSAGES/m17n-im-config.mo %%NLS%%share/locale/fr/LC_MESSAGES/m17n-im-config.mo +%%NLS%%share/locale/ja/LC_MESSAGES/m17n-im-config.mo bin/m17n-im-config include/m17n-im-config.h -lib/libm17n-im-config.so.0 -lib/libm17n-im-config.so -lib/libm17n-im-config.la lib/libm17n-im-config.a +lib/libm17n-im-config.so +lib/libm17n-im-config.so.0 +lib/libm17n-im-config.so.0.0.0 libdata/pkgconfig/m17n-im-config.pc |