diff options
author | jmelo <jmelo@FreeBSD.org> | 2006-07-17 20:46:43 +0800 |
---|---|---|
committer | jmelo <jmelo@FreeBSD.org> | 2006-07-17 20:46:43 +0800 |
commit | 869c6379c3ed2012b62fb05f206616b7c673a82b (patch) | |
tree | eddbd42da4315a7e98fb95c314d500f05da3b0dd /textproc | |
parent | f38f348fe55b1549d16ac646afb72084bb8bb63a (diff) | |
download | freebsd-ports-gnome-869c6379c3ed2012b62fb05f206616b7c673a82b.tar.gz freebsd-ports-gnome-869c6379c3ed2012b62fb05f206616b7c673a82b.tar.zst freebsd-ports-gnome-869c6379c3ed2012b62fb05f206616b7c673a82b.zip |
- Add NLS knob.
- Update WWW.
- Bump portrevision.
PR: ports/99948
Submitted by: chinsan <chinsan.tw@gmail.com> (maintainer)
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/scim-input-pad/Makefile | 17 | ||||
-rw-r--r-- | textproc/scim-input-pad/pkg-descr | 2 | ||||
-rw-r--r-- | textproc/scim-input-pad/pkg-plist | 14 |
3 files changed, 22 insertions, 11 deletions
diff --git a/textproc/scim-input-pad/Makefile b/textproc/scim-input-pad/Makefile index 2555c0388231..fc43995df4e4 100644 --- a/textproc/scim-input-pad/Makefile +++ b/textproc/scim-input-pad/Makefile @@ -7,7 +7,7 @@ PORTNAME= scim-input-pad PORTVERSION= 0.1.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR=scim @@ -21,10 +21,21 @@ RUN_DEPENDS= ${BUILD_DEPENDS} USE_X_PREFIX= yes INSTALLS_SHLIB= yes USE_GMAKE= yes -USE_GNOME= intlhack GNU_CONFIGURE= yes CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \ - LDFLAGS="-L${LOCALBASE}/lib -lintl" + LDFLAGS="-L${LOCALBASE}/lib" + +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +USE_GNOME= intlhack +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib +CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +.else +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " +.endif .include <bsd.port.pre.mk> diff --git a/textproc/scim-input-pad/pkg-descr b/textproc/scim-input-pad/pkg-descr index e8173535b3cd..6c96891d45cf 100644 --- a/textproc/scim-input-pad/pkg-descr +++ b/textproc/scim-input-pad/pkg-descr @@ -5,4 +5,4 @@ Smart Common Input Method platform, in short SCIM, is a development platform to make Input Method developers live easier. It has very clear architecture and very simple programming interface. -WWW: http://freshmeat.net/projects/sciminputpad/ +WWW: http://www.scim-im.org/ diff --git a/textproc/scim-input-pad/pkg-plist b/textproc/scim-input-pad/pkg-plist index 8c9a1b35fefe..915483548dd4 100644 --- a/textproc/scim-input-pad/pkg-plist +++ b/textproc/scim-input-pad/pkg-plist @@ -6,13 +6,13 @@ lib/libscim-input-pad.a lib/libscim-input-pad.la lib/libscim-input-pad.so lib/libscim-input-pad.so.0 -share/locale/de/LC_MESSAGES/scim-input-pad.mo -share/locale/fr/LC_MESSAGES/scim-input-pad.mo -share/locale/it/LC_MESSAGES/scim-input-pad.mo -share/locale/ja/LC_MESSAGES/scim-input-pad.mo -share/locale/pa/LC_MESSAGES/scim-input-pad.mo -share/locale/zh_CN/LC_MESSAGES/scim-input-pad.mo -share/locale/zh_TW/LC_MESSAGES/scim-input-pad.mo +%%NLS%%share/locale/de/LC_MESSAGES/scim-input-pad.mo +%%NLS%%share/locale/fr/LC_MESSAGES/scim-input-pad.mo +%%NLS%%share/locale/it/LC_MESSAGES/scim-input-pad.mo +%%NLS%%share/locale/ja/LC_MESSAGES/scim-input-pad.mo +%%NLS%%share/locale/pa/LC_MESSAGES/scim-input-pad.mo +%%NLS%%share/locale/zh_CN/LC_MESSAGES/scim-input-pad.mo +%%NLS%%share/locale/zh_TW/LC_MESSAGES/scim-input-pad.mo share/scim/icons/input-pad.png share/scim/input-pad/base.pad share/scim/input-pad/chinese.pad |