mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Remove hack to install XLC_LOCALE for ko locale, this change
goes into XFree86(v3) ports(3.3.6_4). XFree86-4 unaffected. Thanks jmz to apply this hack to XFree86 ports!
This commit is contained in:
parent
7f6cf98fb4
commit
4668552f95
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34813
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= hanIM
|
||||
PORTVERSION= 1.2.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= korean x11
|
||||
MASTER_SITES= ftp://ftp.mizi.com/pub/hanIM/
|
||||
|
||||
@ -22,14 +23,5 @@ post-install:
|
||||
${MKDIR} ${PREFIX}/share/doc/hanIM
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/LICENSE \
|
||||
${PREFIX}/share/doc/hanIM/
|
||||
# patch XLC_LOCALE for ko_KR.EUC(harmless)
|
||||
if [ -f ${PREFIX}/lib/X11/locale/ko/XLC_LOCALE ]; then \
|
||||
${MV} -f ${PREFIX}/lib/X11/locale/ko/XLC_LOCALE \
|
||||
${PREFIX}/lib/X11/locale/ko/XLC_LOCALE.orig; \
|
||||
fi
|
||||
${INSTALL_DATA} ${FILESDIR}/XLC_LOCALE \
|
||||
${PREFIX}/lib/X11/locale/ko/
|
||||
${INSTALL_DATA} ${FILESDIR}/XLC_LOCALE \
|
||||
${PREFIX}/share/doc/hanIM/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -12,9 +12,4 @@ lib/X11/hanIM/japanese.tbl
|
||||
@dirrm lib/X11/hanIM
|
||||
share/doc/hanIM/LICENSE
|
||||
share/doc/hanIM/README
|
||||
share/doc/hanIM/XLC_LOCALE
|
||||
@comment copy new locale definition(no harm, so need not be uninstalled)
|
||||
@exec if [ -f %D/lib/X11/locale/ko/XLC_LOCALE ]; then mv -f %D/lib/X11/locale/ko/XLC_LOCALE %D/lib/X11/locale/ko/XLC_LOCALE.orig; fi
|
||||
@exec cp %D/share/doc/hanIM/XLC_LOCALE %D/lib/X11/locale/ko/
|
||||
@unexec if [ -f %D/lib/X11/locale/ko/XLC_LOCALE.orig ]; then mv -f %D/lib/X11/locale/ko/XLC_LOCALE.orig %D/lib/X11/locale/ko/XLC_LOCALE; fi
|
||||
@dirrm share/doc/hanIM
|
||||
|
Loading…
Reference in New Issue
Block a user