aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2014-10-01 00:19:41 +0800
committersunpoet <sunpoet@FreeBSD.org>2014-10-01 00:19:41 +0800
commit572b99f65d83af3c0b06ac3e1036712546b2f164 (patch)
tree071f9c56d21dc2ba15a523fbe975f8bb482c1769 /misc
parent859dd88f09458858deaff718b1115d986f31fd65 (diff)
downloadfreebsd-ports-gnome-572b99f65d83af3c0b06ac3e1036712546b2f164.tar.gz
freebsd-ports-gnome-572b99f65d83af3c0b06ac3e1036712546b2f164.tar.zst
freebsd-ports-gnome-572b99f65d83af3c0b06ac3e1036712546b2f164.zip
- Fix PLIST when NLS option is off
Diffstat (limited to 'misc')
-rw-r--r--misc/getopt/Makefile1
-rw-r--r--misc/getopt/pkg-plist50
2 files changed, 26 insertions, 25 deletions
diff --git a/misc/getopt/Makefile b/misc/getopt/Makefile
index 6c60bcbd3d55..8aa242b1abc4 100644
--- a/misc/getopt/Makefile
+++ b/misc/getopt/Makefile
@@ -13,6 +13,7 @@ COMMENT= Replacement for getopt(1) that supports GNU-style long options
LICENSE= GPLv2
OPTIONS_DEFINE= DOCS NLS
+OPTIONS_SUB= yes
MAKE_ARGS= CC=${CC} LIBCGETOPT=0
USES= gmake
diff --git a/misc/getopt/pkg-plist b/misc/getopt/pkg-plist
index d396e9fe60f6..54ef6ee94b1a 100644
--- a/misc/getopt/pkg-plist
+++ b/misc/getopt/pkg-plist
@@ -1,27 +1,27 @@
bin/getopt
man/man1/getopt.1.gz
-share/locale/ca/LC_MESSAGES/getopt.mo
-share/locale/cs/LC_MESSAGES/getopt.mo
-share/locale/da/LC_MESSAGES/getopt.mo
-share/locale/de/LC_MESSAGES/getopt.mo
-share/locale/es/LC_MESSAGES/getopt.mo
-share/locale/et/LC_MESSAGES/getopt.mo
-share/locale/eu/LC_MESSAGES/getopt.mo
-share/locale/fi/LC_MESSAGES/getopt.mo
-share/locale/fr/LC_MESSAGES/getopt.mo
-share/locale/gl/LC_MESSAGES/getopt.mo
-share/locale/hu/LC_MESSAGES/getopt.mo
-share/locale/id/LC_MESSAGES/getopt.mo
-share/locale/it/LC_MESSAGES/getopt.mo
-share/locale/ja/LC_MESSAGES/getopt.mo
-share/locale/nl/LC_MESSAGES/getopt.mo
-share/locale/pl/LC_MESSAGES/getopt.mo
-share/locale/pt_BR/LC_MESSAGES/getopt.mo
-share/locale/ru/LC_MESSAGES/getopt.mo
-share/locale/sl/LC_MESSAGES/getopt.mo
-share/locale/sv/LC_MESSAGES/getopt.mo
-share/locale/tr/LC_MESSAGES/getopt.mo
-share/locale/uk/LC_MESSAGES/getopt.mo
-share/locale/vi/LC_MESSAGES/getopt.mo
-share/locale/zh_CN/LC_MESSAGES/getopt.mo
-share/locale/zh_TW/LC_MESSAGES/getopt.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/getopt.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/getopt.mo
+%%NLS%%share/locale/da/LC_MESSAGES/getopt.mo
+%%NLS%%share/locale/de/LC_MESSAGES/getopt.mo
+%%NLS%%share/locale/es/LC_MESSAGES/getopt.mo
+%%NLS%%share/locale/et/LC_MESSAGES/getopt.mo
+%%NLS%%share/locale/eu/LC_MESSAGES/getopt.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/getopt.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/getopt.mo
+%%NLS%%share/locale/gl/LC_MESSAGES/getopt.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/getopt.mo
+%%NLS%%share/locale/id/LC_MESSAGES/getopt.mo
+%%NLS%%share/locale/it/LC_MESSAGES/getopt.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/getopt.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/getopt.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/getopt.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/getopt.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/getopt.mo
+%%NLS%%share/locale/sl/LC_MESSAGES/getopt.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/getopt.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/getopt.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/getopt.mo
+%%NLS%%share/locale/vi/LC_MESSAGES/getopt.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/getopt.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/getopt.mo