diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2014-06-27 16:12:05 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2014-06-27 16:12:05 +0000 |
commit | f874187e5a6d43beee657f87314d069b5c65a5e4 (patch) | |
tree | a00e4093223d0411024a5afdc36a7d3c44ca883b /textproc/m17n-im-config | |
parent | 238db7a36f80efef056a83a27413b4f6af3792dd (diff) | |
download | ports-f874187e5a6d43beee657f87314d069b5c65a5e4.tar.gz ports-f874187e5a6d43beee657f87314d069b5c65a5e4.zip |
- Stage support
- Cleanup
PR: 190779
Notes
Notes:
svn path=/head/; revision=359567
Diffstat (limited to 'textproc/m17n-im-config')
-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 |