aboutsummaryrefslogtreecommitdiff
path: root/misc/getopt
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-09-30 16:19:41 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-09-30 16:19:41 +0000
commit04b3cf366b9858a3f23aee1b6323bd40d4521871 (patch)
tree071f9c56d21dc2ba15a523fbe975f8bb482c1769 /misc/getopt
parent07225d9d3f73516d40f940d166b07851fbd8be78 (diff)
downloadports-04b3cf366b9858a3f23aee1b6323bd40d4521871.tar.gz
ports-04b3cf366b9858a3f23aee1b6323bd40d4521871.zip
- Fix PLIST when NLS option is off
Notes
Notes: svn path=/head/; revision=369643
Diffstat (limited to 'misc/getopt')
-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