diff options
author | kris <kris@FreeBSD.org> | 2004-03-25 20:07:44 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2004-03-25 20:07:44 +0800 |
commit | 25d2b0b36e41c43237af93cf1925c03b81647e31 (patch) | |
tree | 5b81534bfabff49f1eeb00d397ae3d93d1f08f0c /misc/pinfo | |
parent | df24471062b1f452ed4ef2df22495a4bac8aa6bb (diff) | |
download | freebsd-ports-graphics-25d2b0b36e41c43237af93cf1925c03b81647e31.tar.gz freebsd-ports-graphics-25d2b0b36e41c43237af93cf1925c03b81647e31.tar.zst freebsd-ports-graphics-25d2b0b36e41c43237af93cf1925c03b81647e31.zip |
Support WITHOUT_NLS
Diffstat (limited to 'misc/pinfo')
-rw-r--r-- | misc/pinfo/Makefile | 7 | ||||
-rw-r--r-- | misc/pinfo/pkg-plist | 12 |
2 files changed, 13 insertions, 6 deletions
diff --git a/misc/pinfo/Makefile b/misc/pinfo/Makefile index b16381194ef..9e2644ba205 100644 --- a/misc/pinfo/Makefile +++ b/misc/pinfo/Makefile @@ -19,7 +19,14 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" CONFIGURE_ARGS= --with-readline \ --with-localedir=${PREFIX}/share/locale + +.if !defined(WITHOUT_NLS) USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " +.endif MAN1= pinfo.1 INFO= pinfo diff --git a/misc/pinfo/pkg-plist b/misc/pinfo/pkg-plist index 7509ca79b4d..d57bd5c6a17 100644 --- a/misc/pinfo/pkg-plist +++ b/misc/pinfo/pkg-plist @@ -1,8 +1,8 @@ bin/pinfo etc/pinforc -share/locale/cs/LC_MESSAGES/pinfo.mo -share/locale/de/LC_MESSAGES/pinfo.mo -share/locale/ja/LC_MESSAGES/pinfo.mo -share/locale/pl/LC_MESSAGES/pinfo.mo -share/locale/ru/LC_MESSAGES/pinfo.mo -share/locale/sv/LC_MESSAGES/pinfo.mo +%%NLS%%share/locale/cs/LC_MESSAGES/pinfo.mo +%%NLS%%share/locale/de/LC_MESSAGES/pinfo.mo +%%NLS%%share/locale/ja/LC_MESSAGES/pinfo.mo +%%NLS%%share/locale/pl/LC_MESSAGES/pinfo.mo +%%NLS%%share/locale/ru/LC_MESSAGES/pinfo.mo +%%NLS%%share/locale/sv/LC_MESSAGES/pinfo.mo |