mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
pkgbase: move locales into their own package
The only exception here being C.UTF-8 as this is the default locales so it needs to always be installed Reviewed by: pkgbase (emaste) Differential Revision: https://reviews.freebsd.org/D31397
This commit is contained in:
parent
30e1773fde
commit
0fa5403d49
|
@ -1,5 +1,6 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
PACKAGE= locales
|
||||||
LOCALEDIR= ${SHAREDIR}/locale
|
LOCALEDIR= ${SHAREDIR}/locale
|
||||||
FILESNAME= LC_COLLATE
|
FILESNAME= LC_COLLATE
|
||||||
.SUFFIXES: .src .LC_COLLATE
|
.SUFFIXES: .src .LC_COLLATE
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
# Warning: Do not edit. This file is automatically generated from the
|
# Warning: Do not edit. This file is automatically generated from the
|
||||||
# tools in /usr/src/tools/tools/locale.
|
# tools in /usr/src/tools/tools/locale.
|
||||||
|
|
||||||
|
PACKAGE= locales
|
||||||
LOCALEDIR= ${SHAREDIR}/locale
|
LOCALEDIR= ${SHAREDIR}/locale
|
||||||
FILESNAME= LC_COLLATE
|
FILESNAME= LC_COLLATE
|
||||||
.SUFFIXES: .src .LC_COLLATE
|
.SUFFIXES: .src .LC_COLLATE
|
||||||
|
@ -107,6 +108,7 @@ CLEANFILES= ${FILES}
|
||||||
.for f t in ${SAME}
|
.for f t in ${SAME}
|
||||||
DIRS+= LOCALEDIR_$t
|
DIRS+= LOCALEDIR_$t
|
||||||
LOCALEDIR_$t= ${LOCALEDIR}/$t
|
LOCALEDIR_$t= ${LOCALEDIR}/$t
|
||||||
|
LOCALEDIR_$tPACKAGE= locales
|
||||||
SYMLINKS+= ../$f/${FILESNAME} \
|
SYMLINKS+= ../$f/${FILESNAME} \
|
||||||
${LOCALEDIR}/$t/${FILESNAME}
|
${LOCALEDIR}/$t/${FILESNAME}
|
||||||
.endfor
|
.endfor
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
PACKAGE= locales
|
||||||
|
FILESGROUPS= FILES ALWAYS
|
||||||
|
ALWAYSPACKAGE= runtime
|
||||||
LOCALEDIR= ${SHAREDIR}/locale
|
LOCALEDIR= ${SHAREDIR}/locale
|
||||||
FILESNAME= LC_CTYPE
|
FILESNAME= LC_CTYPE
|
||||||
.SUFFIXES: .src .LC_CTYPE
|
.SUFFIXES: .src .LC_CTYPE
|
||||||
|
@ -212,12 +215,15 @@ SAME+= lv_LV.ISO8859-13 lt_LT.ISO8859-13
|
||||||
SAME+= ko_KR.eucKR ko_KR.CP949 # legacy (same charset)
|
SAME+= ko_KR.eucKR ko_KR.CP949 # legacy (same charset)
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
FILES= ${LOCALES:S/$/.LC_CTYPE/}
|
# C.UTF-8 is the default locale, so it should always been installed.
|
||||||
|
ALWAYS= C.UTF-8.LC_CTYPE
|
||||||
|
FILES= ${LOCALES:NC.UTF-8:S/$/.LC_CTYPE/}
|
||||||
CLEANFILES= ${FILES}
|
CLEANFILES= ${FILES}
|
||||||
|
|
||||||
.for f t in ${SAME}
|
.for f t in ${SAME}
|
||||||
DIRS+= LOCALEDIR_$t
|
DIRS+= LOCALEDIR_$t
|
||||||
LOCALEDIR_$t= ${LOCALEDIR}/$t
|
LOCALEDIR_$t= ${LOCALEDIR}/$t
|
||||||
|
LOCALEDIR_$tPACKAGE= locales
|
||||||
SYMLINKS+= ../$f/${FILESNAME} \
|
SYMLINKS+= ../$f/${FILESNAME} \
|
||||||
${LOCALEDIR}/$t/${FILESNAME}
|
${LOCALEDIR}/$t/${FILESNAME}
|
||||||
.endfor
|
.endfor
|
||||||
|
@ -225,6 +231,7 @@ SYMLINKS+= ../$f/${FILESNAME} \
|
||||||
.for f in ${LOCALES}
|
.for f in ${LOCALES}
|
||||||
FILESDIR_${f}.LC_CTYPE= ${LOCALEDIR}/${f}
|
FILESDIR_${f}.LC_CTYPE= ${LOCALEDIR}/${f}
|
||||||
.endfor
|
.endfor
|
||||||
|
FILESDIR_C.UTF-8.LC_CTYPEPACKAGE= runtime
|
||||||
|
|
||||||
SYMPAIRS+= zh_CN.eucCN.src zh_CN.GB18030.src
|
SYMPAIRS+= zh_CN.eucCN.src zh_CN.GB18030.src
|
||||||
SYMPAIRS+= zh_CN.eucCN.src zh_CN.GB2312.src
|
SYMPAIRS+= zh_CN.eucCN.src zh_CN.GB2312.src
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
# Warning: Do not edit. This file is automatically generated from the
|
# Warning: Do not edit. This file is automatically generated from the
|
||||||
# tools in /usr/src/tools/tools/locale.
|
# tools in /usr/src/tools/tools/locale.
|
||||||
|
|
||||||
|
PACKAGE= locales
|
||||||
LOCALEDIR= ${SHAREDIR}/locale
|
LOCALEDIR= ${SHAREDIR}/locale
|
||||||
FILESNAME= LC_MONETARY
|
FILESNAME= LC_MONETARY
|
||||||
.SUFFIXES: .src .out
|
.SUFFIXES: .src .out
|
||||||
|
@ -132,6 +133,7 @@ CLEANFILES= ${FILES}
|
||||||
.for f t in ${SAME}
|
.for f t in ${SAME}
|
||||||
DIRS+= LOCALEDIR_$t
|
DIRS+= LOCALEDIR_$t
|
||||||
LOCALEDIR_$t= ${LOCALEDIR}/$t
|
LOCALEDIR_$t= ${LOCALEDIR}/$t
|
||||||
|
LOCALEDIR_$tPACKAGE= locales
|
||||||
SYMLINKS+= ../$f/${FILESNAME} \
|
SYMLINKS+= ../$f/${FILESNAME} \
|
||||||
${LOCALEDIR}/$t/${FILESNAME}
|
${LOCALEDIR}/$t/${FILESNAME}
|
||||||
.endfor
|
.endfor
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
# Warning: Do not edit. This file is automatically generated from the
|
# Warning: Do not edit. This file is automatically generated from the
|
||||||
# tools in /usr/src/tools/tools/locale.
|
# tools in /usr/src/tools/tools/locale.
|
||||||
|
|
||||||
|
PACKAGE= locales
|
||||||
LOCALEDIR= ${SHAREDIR}/locale
|
LOCALEDIR= ${SHAREDIR}/locale
|
||||||
FILESNAME= LC_MONETARY
|
FILESNAME= LC_MONETARY
|
||||||
.SUFFIXES: .src .out
|
.SUFFIXES: .src .out
|
||||||
|
@ -99,6 +100,7 @@ CLEANFILES= ${FILES}
|
||||||
.for f t in ${SAME}
|
.for f t in ${SAME}
|
||||||
DIRS+= LOCALEDIR_$t
|
DIRS+= LOCALEDIR_$t
|
||||||
LOCALEDIR_$t= ${LOCALEDIR}/$t
|
LOCALEDIR_$t= ${LOCALEDIR}/$t
|
||||||
|
LOCALEDIR_$tPACKAGE= locales
|
||||||
SYMLINKS+= ../$f/${FILESNAME} \
|
SYMLINKS+= ../$f/${FILESNAME} \
|
||||||
${LOCALEDIR}/$t/${FILESNAME}
|
${LOCALEDIR}/$t/${FILESNAME}
|
||||||
.endfor
|
.endfor
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
PACKAGE= locales
|
||||||
LOCALEDIR= ${SHAREDIR}/locale
|
LOCALEDIR= ${SHAREDIR}/locale
|
||||||
FILESNAME= LC_MESSAGES
|
FILESNAME= LC_MESSAGES
|
||||||
.SUFFIXES: .src .out
|
.SUFFIXES: .src .out
|
||||||
|
@ -125,6 +126,7 @@ CLEANFILES= ${FILES}
|
||||||
.for f t in ${SAME}
|
.for f t in ${SAME}
|
||||||
DIRS+= LOCALEDIR_$t
|
DIRS+= LOCALEDIR_$t
|
||||||
LOCALEDIR_$t= ${LOCALEDIR}/$t
|
LOCALEDIR_$t= ${LOCALEDIR}/$t
|
||||||
|
LOCALEDIR_$tPACKAGE= locales
|
||||||
SYMLINKS+= ../$f/${FILESNAME} \
|
SYMLINKS+= ../$f/${FILESNAME} \
|
||||||
${LOCALEDIR}/$t/${FILESNAME}
|
${LOCALEDIR}/$t/${FILESNAME}
|
||||||
.endfor
|
.endfor
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
# Warning: Do not edit. This file is automatically generated from the
|
# Warning: Do not edit. This file is automatically generated from the
|
||||||
# tools in /usr/src/tools/tools/locale.
|
# tools in /usr/src/tools/tools/locale.
|
||||||
|
|
||||||
|
PACKAGE= locales
|
||||||
LOCALEDIR= ${SHAREDIR}/locale
|
LOCALEDIR= ${SHAREDIR}/locale
|
||||||
FILESNAME= LC_MESSAGES
|
FILESNAME= LC_MESSAGES
|
||||||
.SUFFIXES: .src .out
|
.SUFFIXES: .src .out
|
||||||
|
@ -99,6 +100,7 @@ CLEANFILES= ${FILES}
|
||||||
.for f t in ${SAME}
|
.for f t in ${SAME}
|
||||||
DIRS+= LOCALEDIR_$t
|
DIRS+= LOCALEDIR_$t
|
||||||
LOCALEDIR_$t= ${LOCALEDIR}/$t
|
LOCALEDIR_$t= ${LOCALEDIR}/$t
|
||||||
|
LOCALEDIR_$tPACKAGE= locales
|
||||||
SYMLINKS+= ../$f/${FILESNAME} \
|
SYMLINKS+= ../$f/${FILESNAME} \
|
||||||
${LOCALEDIR}/$t/${FILESNAME}
|
${LOCALEDIR}/$t/${FILESNAME}
|
||||||
.endfor
|
.endfor
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
PACKAGE= locale
|
||||||
LOCALEDIR= ${SHAREDIR}/locale
|
LOCALEDIR= ${SHAREDIR}/locale
|
||||||
FILESNAME= LC_NUMERIC
|
FILESNAME= LC_NUMERIC
|
||||||
.SUFFIXES: .src .out
|
.SUFFIXES: .src .out
|
||||||
|
@ -128,6 +129,7 @@ CLEANFILES= ${FILES}
|
||||||
.for f t in ${SAME}
|
.for f t in ${SAME}
|
||||||
DIRS+= LOCALEDIR_$t
|
DIRS+= LOCALEDIR_$t
|
||||||
LOCALEDIR_$t= ${LOCALEDIR}/$t
|
LOCALEDIR_$t= ${LOCALEDIR}/$t
|
||||||
|
LOCALEDIR_$tPACKAGE= locales
|
||||||
SYMLINKS+= ../$f/${FILESNAME} \
|
SYMLINKS+= ../$f/${FILESNAME} \
|
||||||
${LOCALEDIR}/$t/${FILESNAME}
|
${LOCALEDIR}/$t/${FILESNAME}
|
||||||
.endfor
|
.endfor
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
# Warning: Do not edit. This file is automatically generated from the
|
# Warning: Do not edit. This file is automatically generated from the
|
||||||
# tools in /usr/src/tools/tools/locale.
|
# tools in /usr/src/tools/tools/locale.
|
||||||
|
|
||||||
|
PACKAGE= locales
|
||||||
LOCALEDIR= ${SHAREDIR}/locale
|
LOCALEDIR= ${SHAREDIR}/locale
|
||||||
FILESNAME= LC_NUMERIC
|
FILESNAME= LC_NUMERIC
|
||||||
.SUFFIXES: .src .out
|
.SUFFIXES: .src .out
|
||||||
|
@ -99,6 +100,7 @@ CLEANFILES= ${FILES}
|
||||||
.for f t in ${SAME}
|
.for f t in ${SAME}
|
||||||
DIRS+= LOCALEDIR_$t
|
DIRS+= LOCALEDIR_$t
|
||||||
LOCALEDIR_$t= ${LOCALEDIR}/$t
|
LOCALEDIR_$t= ${LOCALEDIR}/$t
|
||||||
|
LOCALEDIR_$tPACKAGE= locales
|
||||||
SYMLINKS+= ../$f/${FILESNAME} \
|
SYMLINKS+= ../$f/${FILESNAME} \
|
||||||
${LOCALEDIR}/$t/${FILESNAME}
|
${LOCALEDIR}/$t/${FILESNAME}
|
||||||
.endfor
|
.endfor
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
PACKAGE= locales
|
||||||
LOCALEDIR= ${SHAREDIR}/locale
|
LOCALEDIR= ${SHAREDIR}/locale
|
||||||
FILESNAME= LC_TIME
|
FILESNAME= LC_TIME
|
||||||
.SUFFIXES: .src .out
|
.SUFFIXES: .src .out
|
||||||
|
@ -211,6 +212,7 @@ CLEANFILES= ${FILES}
|
||||||
.for f t in ${SAME}
|
.for f t in ${SAME}
|
||||||
DIRS+= LOCALEDIR_$t
|
DIRS+= LOCALEDIR_$t
|
||||||
LOCALEDIR_$t= ${LOCALEDIR}/$t
|
LOCALEDIR_$t= ${LOCALEDIR}/$t
|
||||||
|
LOCALEDIR_$tPACKAGE= locales
|
||||||
SYMLINKS+= ../$f/${FILESNAME} \
|
SYMLINKS+= ../$f/${FILESNAME} \
|
||||||
${LOCALEDIR}/$t/${FILESNAME}
|
${LOCALEDIR}/$t/${FILESNAME}
|
||||||
.endfor
|
.endfor
|
||||||
|
|
|
@ -952,6 +952,7 @@ sub make_makefile {
|
||||||
# Warning: Do not edit. This file is automatically generated from the
|
# Warning: Do not edit. This file is automatically generated from the
|
||||||
# tools in /usr/src/tools/tools/locale.
|
# tools in /usr/src/tools/tools/locale.
|
||||||
|
|
||||||
|
PACKAGE= locales
|
||||||
LOCALEDIR= \${SHAREDIR}/locale
|
LOCALEDIR= \${SHAREDIR}/locale
|
||||||
FILESNAME= $FILESNAMES{$TYPE}
|
FILESNAME= $FILESNAMES{$TYPE}
|
||||||
.SUFFIXES: .src .${SRCOUT2}
|
.SUFFIXES: .src .${SRCOUT2}
|
||||||
|
@ -1084,6 +1085,7 @@ CLEANFILES= \${FILES}
|
||||||
.for f t in \${SAME}
|
.for f t in \${SAME}
|
||||||
DIRS+= LOCALEDIR_\$t
|
DIRS+= LOCALEDIR_\$t
|
||||||
LOCALEDIR_\$t= \${LOCALEDIR}/\$t
|
LOCALEDIR_\$t= \${LOCALEDIR}/\$t
|
||||||
|
LOCALEDIR_\$tPACKAGE= locales
|
||||||
SYMLINKS+= ../\$f/\${FILESNAME} \\
|
SYMLINKS+= ../\$f/\${FILESNAME} \\
|
||||||
\${LOCALEDIR}/\$t/\${FILESNAME}
|
\${LOCALEDIR}/\$t/\${FILESNAME}
|
||||||
.endfor
|
.endfor
|
||||||
|
|
Loading…
Reference in a new issue