Move files/patch-kon.cfg.FreeBSD to files/kon.cfg.FreeBSD-patch for post-patch

PR: 52222
Submitted by: MAINTAINER
This commit is contained in:
Kevin Lo 2003-05-15 02:24:24 +00:00
parent bf461ed2bc
commit 6a33d3ed99
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=81003
2 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,7 @@
# #
MASTERDIR= ${.CURDIR}/../../japanese/kon2-16dot MASTERDIR= ${.CURDIR}/../../japanese/kon2-16dot
EXTRA_PATCHES= ${.CURDIR}/files/patch-kon.cfg.FreeBSD \ EXTRA_PATCHES= ${.CURDIR}/files/patch-lib::coding.c
${.CURDIR}/files/patch-lib::coding.c
CATEGORIES= chinese CATEGORIES= chinese
MAINTAINER= statue@freebsd.sinica.edu.tw MAINTAINER= statue@freebsd.sinica.edu.tw
@ -32,6 +31,7 @@ post-patch:
-e "s;BIG5, 0;BIG5, 0xfefe;g" \ -e "s;BIG5, 0;BIG5, 0xfefe;g" \
-e "s,GB2312.1980,GBK,g" \ -e "s,GB2312.1980,GBK,g" \
${WRKSRC}/lib/coding.c ${WRKSRC}/lib/coding.c
cd ${WRKSRC} && ${PATCH} < ${.CURDIR}/files/kon.cfg.FreeBSD-patch
pre-install: pre-install:
${MKDIR} ${PREFIX}/share/fonts/bdf ${MKDIR} ${PREFIX}/share/fonts/bdf