mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Remove the port.
zh-linux_locale is not needed for linux_base-7. No ports depend on the port.
This commit is contained in:
parent
e673ac3559
commit
77e85695d5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=66840
@ -55,7 +55,6 @@
|
||||
SUBDIR += linux-gtk
|
||||
SUBDIR += linux-netscape47-communicator
|
||||
SUBDIR += linux-netscape47-navigator
|
||||
SUBDIR += linux_locale
|
||||
SUBDIR += lunar
|
||||
SUBDIR += metalist
|
||||
SUBDIR += mkisofs
|
||||
|
@ -1,61 +0,0 @@
|
||||
# New ports collection makefile for: zh-linux_locale
|
||||
# Date created: 01/09/29
|
||||
# Whom: taoka@FreeBSD.org
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= linux_locale
|
||||
PORTVERSION= ${VERSION:S/+/./}
|
||||
CATEGORIES= chinese emulators linux
|
||||
MASTER_SITES= ftp://ftp.jp.debian.org/debian/dists/potato/main/source/admin/
|
||||
DISTNAME= locale-zh_${VERSION}.orig
|
||||
|
||||
PATCH_SITES= ${MASTER_SITES}
|
||||
PATCHFILES= locale-zh_${VERSION}-${PATCHLEVEL}.diff.gz
|
||||
PATCH_DIST_STRIP=-p1
|
||||
MAINTAINER= taoka@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= ${LCDEF_CMD}:${PORTSDIR}/emulators/linux_base
|
||||
|
||||
USE_LINUX_PREFIX= yes
|
||||
WRKSRC= ${WRKDIR}/zh-localedata-${VERSION:C/\\+.*//}
|
||||
PLIST_SUB= VER=${VERSION}
|
||||
|
||||
VERSION= 0.9+0.05
|
||||
PATCHLEVEL= 5
|
||||
REPERTOIRE_MAP= ${LINUXBASE}/usr/share/i18n/repertoiremaps/mnemonic.ds
|
||||
LCDEF_CMD= ${LINUXBASE}/usr/bin/localedef
|
||||
TLCDEF_ARGS= --repertoire-map=${REPERTOIRE_MAP} \
|
||||
-c -f ./BIG5_1984 -i ./zh_TW.Big5
|
||||
CLCDEF_ARGS= --repertoire-map=${REPERTOIRE_MAP} \
|
||||
-c -f ./GB2312 -i ./zh_CN.GB2312
|
||||
TLCDIR= ${PREFIX}/usr/share/locale/zh_TW.Big5
|
||||
CLCDIR= ${PREFIX}/usr/share/locale/zh_CN.GB2312
|
||||
DOCDIR= ${PREFIX}/usr/doc/locale-zh-${VERSION}
|
||||
|
||||
post-patch:
|
||||
${RM} -f ${WRKSRC}/debian/*.orig
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC}/zh_TW.Big5; ${LCDEF_CMD} ${TLCDEF_ARGS} ${WRKDIR}/zh_TW.Big5
|
||||
cd ${WRKSRC}/zh_CN.GB2312; ${LCDEF_CMD} ${CLCDEF_ARGS} ${WRKDIR}/zh_CN.GB2312
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${TLCDIR}/LC_MESSAGES
|
||||
${MKDIR} ${CLCDIR}/LC_MESSAGES
|
||||
.for LC in COLLATE CTYPE MONETARY NUMERIC TIME
|
||||
${INSTALL_DATA} ${WRKDIR}/zh_TW.Big5/LC_${LC} ${TLCDIR}
|
||||
.endfor
|
||||
${INSTALL_DATA} ${WRKDIR}/zh_TW.Big5/LC_MESSAGES/SYS_LC_MESSAGES ${TLCDIR}/LC_MESSAGES
|
||||
.for LC in COLLATE CTYPE MONETARY NUMERIC TIME
|
||||
${INSTALL_DATA} ${WRKDIR}/zh_CN.GB2312/LC_${LC} ${CLCDIR}
|
||||
.endfor
|
||||
${INSTALL_DATA} ${WRKDIR}/zh_CN.GB2312/LC_MESSAGES/SYS_LC_MESSAGES ${CLCDIR}/LC_MESSAGES
|
||||
${LN} -sf zh_TW.Big5 ${PREFIX}/usr/share/locale/zh_TW
|
||||
${LN} -sf zh_CN.GB2312 ${PREFIX}/usr/share/locale/zh_CN
|
||||
${LN} -sf zh_CN.GB2312 ${PREFIX}/usr/share/locale/zh
|
||||
${MKDIR} ${DOCDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/debian/* ${DOCDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,2 +0,0 @@
|
||||
MD5 (locale-zh_0.9+0.05.orig.tar.gz) = 3e60057eb46fc625d9e25e6b6bd72d38
|
||||
MD5 (locale-zh_0.9+0.05-5.diff.gz) = ee2d679f1226485a6b7351eebba68871
|
@ -1 +0,0 @@
|
||||
Chinese GBK/Big5 locales for Linux Glibc 2.1
|
@ -1,3 +0,0 @@
|
||||
Chinese GBK/Big5 locales for Linux Glibc 2.1
|
||||
|
||||
WWW: http://packages.debian.org/stable/admin/locale-zh.html
|
@ -1,29 +0,0 @@
|
||||
usr/doc/locale-zh-%%VER%%/changelog
|
||||
usr/doc/locale-zh-%%VER%%/control
|
||||
usr/doc/locale-zh-%%VER%%/localedata-zh.spec
|
||||
usr/doc/locale-zh-%%VER%%/copyright
|
||||
usr/doc/locale-zh-%%VER%%/rules
|
||||
usr/doc/locale-zh-%%VER%%/zh-localdata.spec
|
||||
usr/share/locale/zh_TW.Big5/LC_COLLATE
|
||||
usr/share/locale/zh_TW.Big5/LC_CTYPE
|
||||
usr/share/locale/zh_TW.Big5/LC_MESSAGES/SYS_LC_MESSAGES
|
||||
usr/share/locale/zh_TW.Big5/LC_MONETARY
|
||||
usr/share/locale/zh_TW.Big5/LC_NUMERIC
|
||||
usr/share/locale/zh_TW.Big5/LC_TIME
|
||||
@dirrm usr/share/locale/zh_TW.Big5/LC_MESSAGES
|
||||
@dirrm usr/share/locale/zh_TW.Big5
|
||||
usr/share/locale/zh_CN.GB2312/LC_COLLATE
|
||||
usr/share/locale/zh_CN.GB2312/LC_CTYPE
|
||||
usr/share/locale/zh_CN.GB2312/LC_MESSAGES/SYS_LC_MESSAGES
|
||||
usr/share/locale/zh_CN.GB2312/LC_MONETARY
|
||||
usr/share/locale/zh_CN.GB2312/LC_NUMERIC
|
||||
usr/share/locale/zh_CN.GB2312/LC_TIME
|
||||
@exec ln -sf zh_TW.Big5 %D/usr/share/locale/zh_TW
|
||||
@exec ln -sf zh_CN.GB2312 %D/usr/share/locale/zh_CN
|
||||
@exec ln -sf zh_CN.GB2312 %D/usr/share/locale/zh
|
||||
@unexec rm -f %D/usr/share/locale/zh_TW
|
||||
@unexec rm -f %D/usr/share/locale/zh_CN
|
||||
@unexec rm -f %D/usr/share/locale/zh
|
||||
@dirrm usr/share/locale/zh_CN.GB2312/LC_MESSAGES
|
||||
@dirrm usr/share/locale/zh_CN.GB2312
|
||||
@dirrm usr/doc/locale-zh-%%VER%%
|
Loading…
Reference in New Issue
Block a user